From 15a85dbb3bbb9adbb37eb88d64e69d21958b55a9 Mon Sep 17 00:00:00 2001 From: ereti <43418802+ereti@users.noreply.github.com> Date: Tue, 9 Nov 2021 21:54:05 +0000 Subject: [PATCH] can remove the start period now that build is done in image --- server/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/Dockerfile b/server/Dockerfile index 47e5461a5..64206437f 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -6,6 +6,6 @@ RUN chown node:node /app USER node RUN pnpm i --silent RUN pnpx tsc --project tsconfig.build.json -HEALTHCHECK --interval=15s --timeout=5s --start-period=20s CMD curl -f http://localhost:8080/api/v1/status || exit 1 +HEALTHCHECK --interval=15s --timeout=5s --start-period=0s CMD curl -f http://localhost:8080/api/v1/status || exit 1 ENV NODE_PATH=js/ CMD ["node", "js/main.js"]