fix healthcheck by wget
Deploy service message-delivery-method-web-push / service message-delivery-method-web-push (push) Successful in 59s
Deploy service message-delivery-method-web-push / service message-delivery-method-web-push (push) Successful in 59s
This commit is contained in:
@@ -3,6 +3,6 @@ FROM oven/bun:1.1.38-alpine
|
|||||||
COPY . ./
|
COPY . ./
|
||||||
|
|
||||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=10s --retries=1 \
|
HEALTHCHECK --interval=30s --timeout=10s --start-period=10s --retries=1 \
|
||||||
CMD curl -f http://127.0.0.1:8000/health || exit 1
|
CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:8000/health || exit 1
|
||||||
|
|
||||||
CMD ["bun", "dist/server.js"]
|
CMD ["bun", "dist/server.js"]
|
||||||
|
|||||||
Reference in New Issue
Block a user