HacksterT commited on
Commit
7c1bae9
·
verified ·
1 Parent(s): c413fb0

Force upload Dockerfile - 1754763926

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -4
Dockerfile CHANGED
@@ -1,9 +1,13 @@
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"]
 
 
 
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"]