File size: 461 Bytes
fcbe7bd
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# FROM python:3.9-slim
# WORKDIR /app
# COPY . .
# COPY requirements.txt .
# COPY app.py .   
# RUN pip install --no-cache-dir --upgrade -r requirements.txt
# CMD ["streamlit", "run", "app.py", "server.address=0.0.0.0", "server.port=8501"]
FROM python:3.9-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app.py .
CMD ["streamlit", "run", "app.py", "--server.port=7861", "--server.address=0.0.0.0"]