🔨 Fix healthcheck for SSL enabled instances (#274)

Fixes https://github.com/hassio-addons/addon-tasmoadmin/issues/273
This commit is contained in:
Paul Sinclair 2022-12-29 04:57:35 -05:00 committed by GitHub
parent 056146b25d
commit 2c9fc7b535
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,7 +57,7 @@ RUN \
COPY rootfs /
# Health check
HEALTHCHECK CMD curl --fail http://127.0.0.1:9541 || exit 1
HEALTHCHECK CMD [[ "curl --fail http://127.0.0.1:9541" ] || [ "curl --fail --insecure https://127.0.0.1:9541" ]] || exit 1
# Build arguments
ARG BUILD_ARCH