mirror of
https://cdm-project.com/Download-Tools/udemy-downloader.git
synced 2025-04-29 19:54:26 +02:00

[*] Fixed issue with wget output command parameter [*] Update to latest version of shaka-packager
24 lines
643 B
Docker
24 lines
643 B
Docker
# Use an official Python runtime as a parent image
|
|
FROM python:3.12-slim-bullseye
|
|
|
|
# Set the working directory in the container to /app
|
|
WORKDIR /app
|
|
|
|
# Install necessary packages.
|
|
RUN apt-get update && apt-get install -y \
|
|
ffmpeg \
|
|
aria2 \
|
|
curl \
|
|
unzip \
|
|
wget
|
|
|
|
# Install Shaka Packager.
|
|
RUN wget https://github.com/shaka-project/shaka-packager/releases/download/v3.2.0/packager-linux-x64 -O /usr/local/bin/shaka-packager
|
|
RUN chmod +x /usr/local/bin/shaka-packager
|
|
|
|
# Copy the current directory contents into the container at /app.
|
|
COPY . /app
|
|
|
|
# Install Python application dependencies.
|
|
RUN pip install -r requirements.txt
|