HacksterT commited on
Commit
b799338
·
verified ·
1 Parent(s): ac4f54f

Force upload Dockerfile - 1754763896

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -8
Dockerfile CHANGED
@@ -1,13 +1,9 @@
1
- FROM python:3.12-slim
2
 
3
  WORKDIR /app
4
 
5
- COPY requirements.txt .
6
- RUN pip install -r requirements.txt
7
 
8
- COPY app.py .
9
- COPY models/ ./models/
10
 
11
- EXPOSE 7860
12
-
13
- CMD ["python", "app.py"]
 
1
+ FROM python:3.9-slim
2
 
3
  WORKDIR /app
4
 
5
+ COPY . .
 
6
 
7
+ RUN pip3 install -r requirements.txt
 
8
 
9
+ CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false"]