rag-citations / Dockerfile
BonusLockSMith's picture
#10 RAG Q&A with Citations - construction KB (private validation build)
7110676 verified
Raw History Blame Contribute Delete
375 Bytes
# RAG Q&A with Citations — runs on Hugging Face Spaces, Render, Railway, Fly.io, etc.
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ENV PORT=7860
# fastembed downloads its model to a cache; keep it writable
ENV HF_HOME=/tmp/hf FASTEMBED_CACHE_PATH=/tmp/fastembed
EXPOSE 7860
CMD ["python", "app.py"]