agentic_retrieval / Dockerfile
tnt306's picture
Add Dockerfile for HF Spaces deployment, configure app_port 8501
fea6523
Raw
History Blame Contribute Delete
473 Bytes
FROM python:3.13-slim
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc \
g++ \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY server_ui.py .
COPY assets/ assets/
COPY chroma_db/ chroma_db/
COPY .streamlit/ .streamlit/
EXPOSE 8501
CMD ["streamlit", "run", "server_ui.py", "--server.port", "8501", "--server.headless", "true", "--server.address", "0.0.0.0"]