From bfbd7963cd4d5b703ed2d2d15eb0274db0c0133d Mon Sep 17 00:00:00 2001 From: wuast94 Date: Fri, 26 Apr 2024 22:58:27 +0200 Subject: [PATCH] Add ffmpeg, Python, and streamlink to Dockerfile --- Dockerfile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c9efb33..f743af1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ No newline at end of file