diff --git a/Dockerfile b/Dockerfile index 72d224d..43049d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,9 +17,11 @@ RUN apk update && apk add --no-cache \ py3-pycryptodome \ pipx -# Install streamlink using pip -RUN pipx install streamlink -RUN pipx ensurepath +# Install streamlink using pipx and ensure it is globally accessible +RUN pipx install streamlink && ln -s /root/.local/bin/streamlink /usr/local/bin/streamlink # Switch back to the node-red user USER node-red + +# Ensure the node-red user has the correct PATH +ENV PATH="/usr/local/bin:${PATH}"