From 821db4873e65eaa26ff91ff71b8640235658e517 Mon Sep 17 00:00:00 2001 From: Josh Knapp Date: Thu, 16 Apr 2026 07:57:10 -0700 Subject: [PATCH] Fix healthcheck to validate full stack through Nginx Changed healthcheck from hitting Node.js directly on port 3000/ping to going through Nginx on port 80, ensuring the entire stack is validated. Co-Authored-By: Claude Opus 4.6 (1M context) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1302ab2..ea8cf68 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,6 +36,6 @@ COPY ./examples/ /examples/ RUN echo "15 */12 * * * root /scripts/log-rotate.sh" >> /etc/crontab HEALTHCHECK --interval=30s --timeout=5s --start-period=60s --retries=3 \ - CMD wget --spider -q http://localhost:3000/ping || exit 1 + CMD wget --spider -q http://localhost/ || exit 1 ENTRYPOINT [ "/scripts/entrypoint.sh" ] \ No newline at end of file