diff options
| author | Brock Vojkovic <brockv@tuta.io> | 2025-03-16 18:34:26 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-16 11:34:26 +0100 |
| commit | 84636ef49acc6e74421c23a80f6f63aa4ccc93c7 (patch) | |
| tree | 5d4a1acc22e3c295d50cfac4640e1541dd198a57 | |
| parent | a1d5add71808e8ad7c7405247d907a2d465f6459 (diff) | |
[feat] add docker healthcheck back (#4504)
| -rw-r--r-- | Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile index 2a4d39591..b353db102 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 |