🩺 Add healthcheck to improve HA watchdog (#270)

This commit is contained in:
Franck Nijhof 2022-12-16 13:13:36 +01:00 committed by GitHub
parent 93692f3638
commit 0d1cbdee5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,6 +56,9 @@ RUN \
# Copy root filesystem
COPY rootfs /
# Health check
HEALTHCHECK CMD curl --fail http://127.0.0.1:9541 || exit 1
# Build arguments
ARG BUILD_ARCH
ARG BUILD_DATE