next-playground commited on
Commit
e96f1b4
·
verified ·
1 Parent(s): b1da0fd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -10,8 +10,8 @@ COPY . /app
10
  # 安装依赖
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
 
 
 
13
  # 暴露端口
14
  EXPOSE 5000
15
-
16
- # 运行应用程序
17
- CMD ["python", "./app.py"]
 
10
  # 安装依赖
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
+ # 运行应用程序
14
+ ENTRYPOINT ["python", "./app.py"]
15
+
16
  # 暴露端口
17
  EXPOSE 5000