From 3d850eb121abc2eea471c1d73c67cefd8f5c0832 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yannik=20R=C3=B6del?= Date: Wed, 29 Oct 2025 04:14:42 +0100 Subject: [PATCH] Revert back to wget for Docker healthcheck --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c7b5c08..ab693c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,7 +28,7 @@ RUN SITE=${SITE} npm run build:site FROM docker.io/library/alpine:latest ARG SITE -RUN apk add --no-cache lighttpd && \ +RUN apk add --no-cache lighttpd wget && \ apk add --no-cache python3 py3-requests py3-itsdangerous py3-magic RUN --mount=type=cache,target=/root/.cache/pip \ apk add --no-cache py3-pip && \ @@ -53,7 +53,7 @@ ENV ZAMMAD_URL=https://ticket.z31.it ENV ZAMMAD_GROUP="" HEALTHCHECK --interval=30s --timeout=10s --retries=3 \ - CMD curl -sSf http://127.0.0.1/ > /dev/null || exit 1 + CMD wget --no-verbose --tries=1 --spider http://127.0.0.1/ || exit 1 # Reroute stdout to a new file descriptor so that Lighttpd can use it as the # access log. See http.conf and here: