From 9a6caa1e78c1561210ab868fb1bdba840444c0e0 Mon Sep 17 00:00:00 2001 From: nesquena-hermes Date: Thu, 30 Apr 2026 15:24:29 +0000 Subject: [PATCH] fix: add Docker HEALTHCHECK to Dockerfile From PR #1332. Co-authored-by: Leon.C <160379708+zichen0116@users.noreply.github.com> --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 61462fd0..26d98022 100644 --- a/Dockerfile +++ b/Dockerfile @@ -92,5 +92,8 @@ ENV HERMES_WEBUI_PORT=8787 EXPOSE 8787 +HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \ + CMD curl -f http://localhost:8787/health || exit 1 + CMD ["/hermeswebui_init.bash"]