tuna2134 commited on
Commit
fd86fa0
·
1 Parent(s): c7e2be4

fix: dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -2
Dockerfile CHANGED
@@ -1,3 +1,11 @@
1
  FROM python:3
2
- USER root
3
- CMD ["python3", "main.py"]
 
 
 
 
 
 
 
 
 
1
  FROM python:3
2
+
3
+
4
+ WORKDIR /app
5
+
6
+
7
+ COPY requirements.txt .
8
+ RUN pip install -r requirements.txt
9
+
10
+ COPY . .
11
+ CMD ["python3", "main.py"]