Spaces:
Sleeping
Sleeping
Download Dockerfile from Quantmask/Mintzy_API: direct link, hf CLI and curl.
- Browser
- Download file 277 Bytes
-
https://huggingface.co/spaces/Quantmask/Mintzy_API/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Quantmask/Mintzy_API/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Quantmask/Mintzy_API/resolve/main/Dockerfile
277 Bytes
| FROM python:3.10-slim | |
| # Install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy all project files into the container root | |
| COPY . . | |
| # Run FastAPI app | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] | |