Spaces:
Sleeping
Sleeping
Download Dockerfile from rriviere/attrition-api-dev: direct link, hf CLI and curl.
- Browser
- Download file 242 Bytes
-
https://huggingface.co/spaces/rriviere/attrition-api-dev/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/rriviere/attrition-api-dev/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/rriviere/attrition-api-dev/resolve/main/Dockerfile
242 Bytes
| FROM python:3.12-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY app/ ./app/ | |
| COPY ml_model/ ./ml_model/ | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"] | |