Sami2000's picture
Update Dockerfile
4aa6460 verified
raw
history blame contribute delete
402 Bytes
FROM python:3.11-slim
# Set the working directory
WORKDIR /app
# Copy all files from the repository into the container
COPY . .
# Install dependencies
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
# Streamlit runs on port 8501 by default
EXPOSE 8501
# Launch Streamlit correctly
ENTRYPOINT ["streamlit", "run"]
CMD ["app.py", "--server.address=0.0.0.0", "--server.port=8501"]