mirror of
https://cdm-project.com/Download-Tools/udemy-downloader.git
synced 2025-04-30 01:04:26 +02:00
Install Shaka Packager
This commit is contained in:
parent
0ab393afb1
commit
3d44811616
13
Dockerfile
13
Dockerfile
@ -4,14 +4,21 @@ FROM python:3.12-slim-bullseye
|
|||||||
# Set the working directory in the container to /app
|
# Set the working directory in the container to /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Install necessary packages
|
# Install necessary packages.
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
aria2 \
|
aria2 \
|
||||||
curl \
|
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
|
COPY . /app
|
||||||
|
|
||||||
|
# Install Python application dependencies.
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user