mirror of
https://github.com/searxng/searxng.git
synced 2025-04-06 03:09:44 +00:00
[feat] add docker healthcheck back (#4504)
This commit is contained in:
parent
a1d5add718
commit
84636ef49a
1 changed files with 2 additions and 0 deletions
|
@ -62,6 +62,8 @@ 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
|
||||
|
||||
# Keep these arguments at the end to prevent redundant layer rebuilds
|
||||
ARG LABEL_DATE=
|
||||
ARG GIT_URL=unknown
|
||||
|
|
Loading…
Reference in a new issue