Browse Source

Updated health check in Dockerfile

Salvatore Gabriele La Greca 2 months ago
parent
commit
1fd4dab3b4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Dockerfile

+ 1 - 1
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=