RAG_chatbot / Dockerfile
Rhodham96's picture
Add requirements.txt and update Dockerfile
cdf3e4e
raw
history blame
438 Bytes
# Use the official Python 3.11.6 image
FROM python:3.11.6
# Install Streamlit and other dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade -r requirements.txt
# Copy the rest of the app
COPY . .
# Expose the port (optionnal, but cleaner)
EXPOSE 7860
# Set the working directory
WORKDIR /
# Start the Streamlit app
CMD ["streamlit", "run", "chat.py", "--server.port", "7860", "--server.address", "0.0.0.0"]