cre-chatbot-rag / Dockerfile
tony-42069's picture
Simplified PDF processing and dependencies
f3dfbd4
raw
history blame contribute delete
387 Bytes
FROM python:3.10-slim
WORKDIR /app
# Copy requirements first for better caching
COPY requirements.txt .
RUN pip install -r requirements.txt
# Copy the rest of the application
COPY . .
# Make port configurable via environment variable
ENV PORT=8501
EXPOSE ${PORT}
# Use the correct path to app.py
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]