Skip to content

Commit

Permalink
Add ffmpeg, Python, and streamlink to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
wuast94 committed Apr 26, 2024
1 parent 4bfd5f4 commit bfbd796
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
# Use a specific version of the Node-RED base image
FROM nodered/node-red:3.1.9

# Install FFmpeg
# Switch to root to install additional packages
USER root
RUN apk update && apk add --no-cache ffmpeg

# Update apk and install ffmpeg and Python
RUN apk update && apk add --no-cache ffmpeg python3 py3-pip

# Install streamlink using pip
RUN pip3 install streamlink

# Switch back to the node-red user
USER node-red

0 comments on commit bfbd796

Please sign in to comment.