Spaces:
Paused
Paused
Download Dockerfile from ThatandMoore/quote-gen-api: direct link, hf CLI and curl.
- Browser
- Download file 342 Bytes
-
https://huggingface.co/spaces/ThatandMoore/quote-gen-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ThatandMoore/quote-gen-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ThatandMoore/quote-gen-api/resolve/main/Dockerfile
342 Bytes
| # Quote Gen API — container recipe for the Hugging Face Space. | |
| # HF Spaces expect the app on port 7860 (declared in deploy/api/README.md). | |
| FROM python:3.13-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY *.py ./ | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"] | |