mirror of
https://github.com/hassio-addons/addon-tasmoadmin.git
synced 2025-05-05 03:21:34 +00:00
🩺 Add healthcheck to improve HA watchdog (#270)
This commit is contained in:
parent
93692f3638
commit
0d1cbdee5d
1 changed files with 3 additions and 0 deletions
|
@ -56,6 +56,9 @@ RUN \
|
||||||
# Copy root filesystem
|
# Copy root filesystem
|
||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
|
|
||||||
|
# Health check
|
||||||
|
HEALTHCHECK CMD curl --fail http://127.0.0.1:9541 || exit 1
|
||||||
|
|
||||||
# Build arguments
|
# Build arguments
|
||||||
ARG BUILD_ARCH
|
ARG BUILD_ARCH
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue