Update Dockerfile
Browse files- 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
|
|
|
|
|
|