summaryrefslogtreecommitdiff
path: root/hooks/Dockerfile
diff options
context:
space:
mode:
authorElizabeth <me@liz.coffee>2025-05-26 14:55:29 -0700
committerElizabeth <me@liz.coffee>2025-05-26 14:55:29 -0700
commit65682958b2bce3beef90c63e03b7ce73e4d75472 (patch)
tree7494ba50b0e9df70f3a10898ac4a4e919b30e8cc /hooks/Dockerfile
parent3fb12c9e683e7c9fda3ddc7423f090b0265ffbb0 (diff)
downloadci-65682958b2bce3beef90c63e03b7ce73e4d75472.tar.gz
ci-65682958b2bce3beef90c63e03b7ce73e4d75472.zip
Fix healthchecks in hook server, add to worker as well
Diffstat (limited to 'hooks/Dockerfile')
-rw-r--r--hooks/Dockerfile3
1 files changed, 2 insertions, 1 deletions
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" ]