mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 18:51:23 +00:00
🚑 Update healthcheck command (#669)
This commit is contained in:
parent
713ad8c2f9
commit
926e4672b4
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue