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

Update Dockerfile

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