fix: ensure path for apprise

This commit is contained in:
Eduard Marbach 2025-06-12 22:07:57 +02:00
parent 4ebbc65286
commit d22b69032f

View file

@ -98,6 +98,9 @@ ENV DEPTH=24
# Show browser instead of running headless # Show browser instead of running headless
ENV SHOW=1 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... # 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 HEALTHCHECK --interval=5s --timeout=5s CMD pgrep node && curl --fail http://localhost:6080 || exit 1