File size: 432 Bytes
31c187a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Use and official Python base image
FROM python:3.13
# Set the working directory inside container
WORKDIR /app
# Copy files into the container
COPY requirements.txt .
COPY app.py .
# Install python dependencies
RUN pip install --no-cache-dir -r requirements.txt

# Expose the port for streamlit app
EXPOSE 8501

# Default command to run your app
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]