Spaces:
Sleeping
Sleeping
Download Dockerfile from parvpareek/cache-env: direct link, hf CLI and curl.
- Browser
- Download file 266 Bytes
-
https://huggingface.co/spaces/parvpareek/cache-env/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/parvpareek/cache-env/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/parvpareek/cache-env/resolve/main/Dockerfile
266 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Install deps before copying full tree (faster rebuilds, smaller COPY layer) | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |