Chatbot-Documents / Dockerfile
amitcoolll's picture
Initial RAG document chatbot deployment
c4233b7
raw
history blame contribute delete
320 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir -U pip \
&& pip install --no-cache-dir -r requirements.txt
# HF Spaces expects the app on port 7860 (best practice)
EXPOSE 7860
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.headless=true"]