quote-gen-api / Dockerfile
ThatandMoore's picture
Deploy Quote Gen API
1ff060d verified
Raw History Blame Contribute Delete
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"]