diff options
| author | Brock Vojkovic <brockv@tuta.io> | 2025-02-22 22:22:30 +0000 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarIT.de> | 2025-02-26 07:17:49 +0100 |
| commit | dabe42549991619789485fa0841954d9f5db8b60 (patch) | |
| tree | 310b2a78ef98bcfeb2fd976b85364b6769315ca0 /Dockerfile | |
| parent | f325f8a8868a17547ebaf3a99b9820e9c25b5dbd (diff) | |
[feat] add HEALTHCHECK in Dockerfile
Diffstat (limited to 'Dockerfile')
| -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 |