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: