From 3d448116166059befd0544bf5f510575d7d469c3 Mon Sep 17 00:00:00 2001 From: 4l3j0Ok Date: Sun, 3 Mar 2024 20:40:57 -0300 Subject: [PATCH] Install Shaka Packager --- Dockerfile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c2ef03c..ca5d369 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,14 +4,21 @@ FROM python:3.12-slim-bullseye # Set the working directory in the container to /app WORKDIR /app -# Install necessary packages +# Install necessary packages. RUN apt-get update && apt-get install -y \ ffmpeg \ aria2 \ curl \ - unzip + unzip \ + wget -# Copy the current directory contents into the container at /app +# Install Shaka Packager +RUN wget https://github.com/shaka-project/shaka-packager/releases/download/v2.6.1/packager-linux-x64 -o /usr/local/bin/shaka-packager +RUN chmod +x /usr/local/bin/shaka-packager +ENV PATH="/usr/local/bin/shaka-packager:${PATH}" + +# Copy the current directory contents into the container at /app. COPY . /app +# Install Python application dependencies. RUN pip install -r requirements.txt