Spaces:
Running
Running
Update Dockerfile
Browse files- 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"]
|