coium commited on
Commit
a1601a7
·
verified ·
1 Parent(s): 09776ef

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -12,11 +12,11 @@ COPY . .
12
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
13
 
14
  # 暴露端口
15
- EXPOSE 8080
16
 
17
  # 健康检查
18
  HEALTHCHECK --interval=30s --timeout=5s \
19
- CMD curl -f http://localhost:8080/v1/models || exit 1
20
 
21
  # 运行应用
22
  CMD ["python", "app.py"]
 
12
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
13
 
14
  # 暴露端口
15
+ EXPOSE 5200
16
 
17
  # 健康检查
18
  HEALTHCHECK --interval=30s --timeout=5s \
19
+ CMD curl -f http://localhost:5200/v1/models || exit 1
20
 
21
  # 运行应用
22
  CMD ["python", "app.py"]