stnh70 commited on
Commit
0c90eb3
·
verified ·
1 Parent(s): 8f70a8d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -15,8 +15,8 @@ ENTRYPOINT ["deno", "run", "--allow-net", "--allow-env", "--allow-read", "--allo
15
 
16
  # 设置健康检查
17
  # 健康检查 - 使用 wget(Alpine 默认包含)
18
- HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
19
- CMD wget --no-verbose --tries=1 --spider http://localhost:7860/headers || exit 1
20
 
21
  # Hugging Face Spaces使用7860端口
22
  EXPOSE 8000
 
15
 
16
  # 设置健康检查
17
  # 健康检查 - 使用 wget(Alpine 默认包含)
18
+ # HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
19
+ # CMD wget --no-verbose --tries=1 --spider http://localhost:7860/headers || exit 1
20
 
21
  # Hugging Face Spaces使用7860端口
22
  EXPOSE 8000