From 1fd4dab3b41bd45da12a66677ed94ae438d27912 Mon Sep 17 00:00:00 2001 From: Salvatore Gabriele La Greca <35406071+thegabriele97@users.noreply.github.com> Date: Wed, 26 Feb 2025 09:37:44 +0100 Subject: [PATCH] Updated health check in Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b353db102..76148f05f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -62,7 +62,7 @@ RUN su searxng -c "/usr/bin/python3 -m compileall -q searx" \ -o -name '*.svg' -o -name '*.ttf' -o -name '*.eot' \) \ -type f -exec gzip -9 -k {} \+ -exec brotli --best {} \+ -HEALTHCHECK CMD wget --quiet --tries=1 --spider http://localhost:8080/healthz || exit 1 +HEALTHCHECK CMD wget --quiet --tries=1 --spider http://127.0.0.1:8080/healthz || exit 1 # Keep these arguments at the end to prevent redundant layer rebuilds ARG LABEL_DATE=