diff --git a/Dockerfile b/Dockerfile index 0f765c1..2343667 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,13 @@ -# dockerfile for containerized yt-dlp +# Dockerfile for containerized yt-dlp +# This Dockerfile sets up a container with Python 3 and yt-dlp for downloading YouTube videos. +# Use the official Python 3 bookworm image as the base FROM python:3-bookworm +# Update the package list and install ffmpeg for video processing RUN apt update && apt install -y ffmpeg +# Download the latest version of yt-dlp from GitHub RUN wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp +# Make the downloaded yt-dlp executable RUN chmod +x ./yt-dlp