Staticaliza commited on
Commit
82c1537
·
verified ·
1 Parent(s): 7d1d56b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -8
Dockerfile CHANGED
@@ -1,11 +1,10 @@
1
- from python:3.10-slim
2
 
3
- workdir /app
4
- copy requirements.txt .
5
- run pip install -r requirements.txt
6
 
7
- # pick a non-privileged port
8
- expose 5678
9
 
10
- copy . .
11
- cmd [ "python", "app.py" ]
 
1
+ FROM python:3.10-slim
2
 
3
+ WORKDIR /app
4
+ COPY requirements.txt .
5
+ RUN pip install -r requirements.txt
6
 
7
+ EXPOSE 5678
 
8
 
9
+ COPY . .
10
+ CMD [ "python3", "app.py" ]