From fc4d437eafab6a0fb2517919fc501f31ebbf48fc Mon Sep 17 00:00:00 2001 From: Alejandro Martinez Date: Tue, 7 Apr 2026 15:46:41 +0200 Subject: [PATCH] fix: increase healthcheck start-period to 60s, retries to 10 Server starts successfully (Listening on 0.0.0.0:3000) but needs more time before accepting connections. Previous settings were too aggressive. 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 0b3d2fe..71cb010 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,6 @@ RUN mkdir -p /data && chown node:node /data USER node ENV NODE_ENV=production NODE_PATH=/app/node_modules EXPOSE 3000 -HEALTHCHECK --interval=10s --timeout=5s --retries=5 --start-period=30s \ +HEALTHCHECK --interval=10s --timeout=5s --retries=10 --start-period=60s \ CMD wget -q --spider http://localhost:3000/api/health || exit 1 ENTRYPOINT ["node", ".output/server/index.mjs"]