Update Dockerfile
This commit is contained in:
parent
6ace375a5d
commit
18e6108e49
@ -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" ]
|
||||
|
Loading…
Reference in New Issue
Block a user