diff --git a/Dockerfile b/Dockerfile index ab8aa1b..e1b56e4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,6 +27,6 @@ ENV NODE_ENV=production # Type checking is done in the repo before building the image. RUN npx tsc --noCheck -HEALTHCHECK --interval=30s --start-period=10s --timeout=5s CMD wget -q http://localhost:3000/healthcheck || exit 1 +HEALTHCHECK --interval=30s --start-period=10s --timeout=5s CMD wget -q --spider http://localhost:3000/healthcheck || exit 1 CMD ["pm2-runtime", "dist/index.js" ]