From d22b69032fbf49eea7672c5ebf00433e85f1454e Mon Sep 17 00:00:00 2001 From: Eduard Marbach Date: Thu, 12 Jun 2025 22:07:57 +0200 Subject: [PATCH] fix: ensure path for apprise --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 82f70b2..8086f54 100644 --- a/Dockerfile +++ b/Dockerfile @@ -98,6 +98,9 @@ ENV DEPTH=24 # Show browser instead of running headless ENV SHOW=1 +# apprise is installed via pipx, so it is in /root/.local/bin +ENV PATH="/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" + # mega-linter (KICS, Trivy) complained about it missing - usually this checks some API endpoint, for a container that runs ~1min a healthcheck doesn't make that much sense since playwright has timeouts for everything. Could react to SIGUSR1 and check something in JS - for now we just check that node is running and noVNC is reachable... HEALTHCHECK --interval=5s --timeout=5s CMD pgrep node && curl --fail http://localhost:6080 || exit 1