From 65682958b2bce3beef90c63e03b7ce73e4d75472 Mon Sep 17 00:00:00 2001 From: Elizabeth Date: Mon, 26 May 2025 14:55:29 -0700 Subject: Fix healthchecks in hook server, add to worker as well --- hooks/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hooks/Dockerfile') diff --git a/hooks/Dockerfile b/hooks/Dockerfile index d7763a1..b4729db 100644 --- a/hooks/Dockerfile +++ b/hooks/Dockerfile @@ -1,5 +1,6 @@ FROM oci.liz.coffee/@emprespresso/ci-base:release AS hooks -HEALTHCHECK [ "curl --fail http://localhost:9000/health" ] +HEALTHCHECK --interval=10s --retries=3 --start-period=3s \ + CMD [ "curl --fail http://localhost:9000/health" ] CMD [ "/app/hooks/mod.ts" ] -- cgit v1.2.3-70-g09d2