From 12519f63023d5d02d86dea6483ed77448c8e41bf Mon Sep 17 00:00:00 2001 From: Matthias Jobst Date: Wed, 16 Aug 2023 20:52:35 +0200 Subject: [PATCH] Update Dockerfile to fix #7529 Add --noproxy for localhost to prevent from using a proxy for this request --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cb883d769..0ce4a537d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,6 +39,6 @@ RUN ./docker/build/finalize.sh # Configure Docker Container VOLUME ["/data", "/backup"] EXPOSE 22 3000 -HEALTHCHECK CMD (curl -o /dev/null -sS http://localhost:3000/healthcheck) || exit 1 +HEALTHCHECK CMD (curl --noproxy localhost -o /dev/null -sS http://localhost:3000/healthcheck) || exit 1 ENTRYPOINT ["/app/gogs/docker/start.sh"] CMD ["/bin/s6-svscan", "/app/gogs/docker/s6/"]