Spaces:
Sleeping
Sleeping
Download deploy/api.Dockerfile from REBELLION2002/traffix-live: direct link, hf CLI and curl.
- Browser
- Download file 251 Bytes
-
https://huggingface.co/spaces/REBELLION2002/traffix-live/resolve/main/deploy/api.Dockerfile
- Command line
-
hf download hf://spaces/REBELLION2002/traffix-live/deploy/api.Dockerfile
-
curl -L -o api.Dockerfile https://huggingface.co/spaces/REBELLION2002/traffix-live/resolve/main/deploy/api.Dockerfile
251 Bytes
| FROM python:3.11-slim-bookworm | |
| WORKDIR /app | |
| COPY pyproject.toml ./ | |
| COPY src ./src | |
| RUN pip install --no-cache-dir -e ".[api]" | |
| ENV EVIDENCE_ROOT=/evidence | |
| EXPOSE 8000 | |
| CMD ["uvicorn", "coflow5.api.app:app", "--host", "0.0.0.0", "--port", "8000"] | |