can remove the start period now that build is done in image

This commit is contained in:
ereti
2021-11-09 21:54:05 +00:00
committed by GitHub
parent d2efcc06b1
commit 15a85dbb3b
+1 -1
View File
@@ -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"]