Buddy-ChatBot / Dockerfile
Learnerbegginer's picture
Added app files and Dockerfile for deployment
bfc7968
raw
history blame
358 Bytes
FROM python:3.9-slim
# Set working directory
WORKDIR /app
# Copy requirements and install
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy rest of the app files
COPY . .
# Expose port for Streamlit
EXPOSE 7860
# Command to run the app
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]