Spaces:
Sleeping
Sleeping
Download Dockerfile from madchavez/MLOPs_end2end_api: direct link, hf CLI and curl.
- Browser
- Download file 255 Bytes
-
https://huggingface.co/spaces/madchavez/MLOPs_end2end_api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/madchavez/MLOPs_end2end_api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/madchavez/MLOPs_end2end_api/resolve/main/Dockerfile
255 Bytes
| FROM python:3.12-slim | |
| WORKDIR /app | |
| COPY . . | |
| RUN pip install --no-cache-dir uv \ | |
| && uv pip install --system . \ | |
| && uv pip install --system pytest pytest-cov | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "serving.api:app", "--host", "0.0.0.0", "--port", "7860"] | |