🚑 Update healthcheck command (#669)

This commit is contained in:
Paul Sinclair 2023-07-03 05:55:37 -04:00 committed by GitHub
parent 713ad8c2f9
commit 926e4672b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -131,9 +131,7 @@ COPY rootfs /
# Health check # Health check
HEALTHCHECK \ HEALTHCHECK \
CMD curl --fail http://127.0.0.1:1337/healthz \ CMD curl --fail http://127.0.0.1:1337/healthz || exit 1
| jq --exit-status '.status == "alive"' \
|| exit 1
# Build arguments # Build arguments
ARG BUILD_ARCH ARG BUILD_ARCH