mirror of
https://github.com/hassio-addons/addon-tasmoadmin.git
synced 2025-05-04 11:01:27 +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 rootfs /
|
||||
|
||||
# Health check
|
||||
HEALTHCHECK CMD curl --fail http://127.0.0.1:9541 || exit 1
|
||||
|
||||
# Build arguments
|
||||
ARG BUILD_ARCH
|
||||
ARG BUILD_DATE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue