File size: 402 Bytes
077afcd
 
4aa6460
077afcd
 
4aa6460
077afcd
 
 
 
 
 
4aa6460
077afcd
 
4aa6460
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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"]