debug Add health check.
This commit is contained in:
parent
2428e19951
commit
91663a6a13
|
|
@ -21,9 +21,9 @@ EXPOSE 3000
|
|||
# Set environment
|
||||
ENV NODE_ENV=production
|
||||
|
||||
# add health check
|
||||
HEALTHCHECK --interval=30s --timeout=3s --retries=3 \
|
||||
CMD wget -qO- http://localhost:3000/_healthz || exit 1
|
||||
# # add health check
|
||||
# HEALTHCHECK --interval=30s --timeout=3s --retries=3 \
|
||||
# CMD wget -qO- http://localhost:3000/_healthz || exit 1
|
||||
|
||||
|
||||
# Start the SvelteKit app
|
||||
|
|
|
|||
Loading…
Reference in New Issue