File size: 405 Bytes
e6d7156
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Use a base image with Python and Streamlit dependencies
FROM python:3.8

# Set the working directory
WORKDIR /app

# Copy your application code into the container
COPY . /app

# Install required dependencies
RUN pip install -r requirements.txt

# Expose the port that Streamlit runs on (default is 8501)
EXPOSE 8501

# Run your Streamlit app when the container starts
CMD ["streamlit", "run", "app.py"]