Skip to content

Commit

Permalink
Revert "Add HEALTHCHECK to Dockerfile"
Browse files Browse the repository at this point in the history
This reverts commit 87d2eef.
  • Loading branch information
aeifn committed Nov 25, 2020
1 parent 87d2eef commit fcd4aa4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@ ENV NODE_ENV production
ENV CONFIG /config.js
COPY --from=builder /appBuild/ .
RUN npm install --production
HEALTHCHECK --interval=5m --timeout=3s --start-period=2m \
CMD curl --fail http://localhost:3000 || exit 1
CMD node --max-old-space-size=4096 /code/bin/run.js --script /code/${MODULE}.js --config ${CONFIG}

0 comments on commit fcd4aa4

Please sign in to comment.