File size: 342 Bytes
1ff060d
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
# 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"]