From 28e5f4e4e6635176eca8a9fd37be3feeff71be35 Mon Sep 17 00:00:00 2001 From: jason Date: Tue, 28 Jul 2026 16:26:46 -0500 Subject: [PATCH] fix(healthcheck): probe 127.0.0.1 instead of localhost (IPv6 ::1 made wget fail) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 133910f..a28cd51 100755 --- a/Dockerfile +++ b/Dockerfile @@ -44,5 +44,5 @@ COPY client/public/static ./client/dist/static RUN mkdir -p /data EXPOSE 3001 HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \ - CMD wget -qO- http://localhost:3001/api/health || exit 1 + CMD wget -qO- http://127.0.0.1:3001/api/health || exit 1 CMD ["node", "server.js"]