Update Dockerfile
This commit is contained in:
1 parent
6ace375a5d
commit
18e6108e49
1 file changed
+1
-1
+1
-1
@@ -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" ]
|
||||
Reference in new issue
Block a user