File size: 490 Bytes
0391325
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Use the smallest possible Python base image
FROM python:3.11-slim

# Set the working directory in the container
WORKDIR /.

# Copy the requirements file into the container
COPY requirements.txt ./

# Install any Python dependencies specified in requirements.txt
RUN pip install --no-cache-dir -r requirements.txt

# Copy the rest of the application code into the container
COPY . .

EXPOSE 8080

# Command to run the application
CMD ["streamlit", "run", "app.py", "--server.port", "8080"]