File size: 335 Bytes
f093e48
 
74b6a36
 
 
f093e48
 
74b6a36
f093e48
74b6a36
f093e48
74b6a36
f093e48
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Use a minimal base image with Python 3.9 installed
FROM python:3.9-slim

WORKDIR /app

COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

COPY . .

EXPOSE 7860

CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.headless=true", "--browser.gatherUsageStats=false"]