Spaces:
Sleeping
Sleeping
Download Dockerfile from pragunk/adaptive_cache_env: direct link, hf CLI and curl.
- Browser
- Download file 240 Bytes
-
https://huggingface.co/spaces/pragunk/adaptive_cache_env/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/pragunk/adaptive_cache_env/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/pragunk/adaptive_cache_env/resolve/main/Dockerfile
240 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| # Expose the standard Hugging Face Spaces port | |
| EXPOSE 7860 | |
| # Run the FastAPI server | |
| CMD ["python", "-m", "server.app"] |