File size: 405 Bytes
f0de5f4 0abb763 f0de5f4 c3792ad |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# Use a lightweight Python image as the base
FROM python:3.9-slim
# Set the working directory
WORKDIR /app
# Copy the project files to the container
COPY . /app
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose Streamlit's default port
EXPOSE 7860
# Command to run the Streamlit app
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"] |