somratpro Claude Sonnet 4.6 commited on
Commit
fbcca6e
·
1 Parent(s): 617d143

fix: increase healthcheck start-period to 180s

Browse files

Gateway ready timeout is 120s but healthcheck start-period was 90s.
With heavier image (Chromium + JupyterLab), container took longer
than 90s to become ready causing premature 503 → HF restart loop.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -97,7 +97,7 @@ ENV HERMES_HOME=/opt/data \
97
 
98
  EXPOSE 7861
99
 
100
- HEALTHCHECK --interval=30s --timeout=5s --start-period=90s \
101
  CMD curl -fsS http://localhost:7861/health || exit 1
102
 
103
  CMD ["/opt/huggingmes/start.sh"]
 
97
 
98
  EXPOSE 7861
99
 
100
+ HEALTHCHECK --interval=30s --timeout=5s --start-period=180s \
101
  CMD curl -fsS http://localhost:7861/health || exit 1
102
 
103
  CMD ["/opt/huggingmes/start.sh"]