prepend ~/.local/bin to $PATH (instead of replace) for pipx, fixup #497

This commit is contained in:
Ralf Vogler 2025-07-22 23:10:27 +02:00
parent e623ddc2f2
commit 594080e35b

View file

@ -99,7 +99,7 @@ ENV DEPTH=24
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"
ENV PATH="/root/.local/bin:$PATH"
# 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