Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
wuast94 authored Jun 20, 2024
1 parent 9c99140 commit a846c5b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

0 comments on commit a846c5b

Please sign in to comment.