solitudeLin commited on
Commit
58e44ac
·
verified ·
1 Parent(s): bd17ef8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -14,6 +14,7 @@ EXPOSE 7860
14
  # 健康检查
15
  HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
16
  CMD curl -f http://localhost:7860/healthz || exit 1
 
17
 
18
  # 启动命令
19
  CMD ["npm", "start", "--", "--port", "7860"]
 
14
  # 健康检查
15
  HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
16
  CMD curl -f http://localhost:7860/healthz || exit 1
17
+ CMD ["npx", "puppeteer browsers install" "chrome"]
18
 
19
  # 启动命令
20
  CMD ["npm", "start", "--", "--port", "7860"]