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 a846c5b commit 789993a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ RUN apk update && apk add --no-cache \
py3-pycryptodome \
pipx

# 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

# Install streamlink using pipx and ensure it is globally accessible
RUN pipx install streamlink
RUN pipx ensurepath

# Ensure the node-red user has the correct PATH
ENV PATH="/usr/local/bin:${PATH}"

0 comments on commit 789993a

Please sign in to comment.