From 8c60a43ff2c390b6aaeedbf8520fe3a14e765dc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20P=C4=99dzich?= Date: Fri, 2 Jan 2026 16:38:51 +0100 Subject: [PATCH] Replace curl healthcheck with wget --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d40443e..6375fe4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,11 +6,10 @@ RUN ["zola", "build"] FROM ghcr.io/static-web-server/static-web-server:2.40.1-alpine ENV SERVER_HEALTH=true WORKDIR / -RUN apk --no-cache add curl COPY --from=zola /project/public /public HEALTHCHECK \ --interval=10s \ --timeout=5s \ --start-period=3s \ --retries=3 \ - CMD ["curl", "-s", "http://localhost/health"] + CMD ["wget", "http://localhost/health", "-O", "/dev/null", "-q"]