assistant test
This commit is contained in:
@ -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
|
FROM python:3-bookworm
|
||||||
|
|
||||||
|
# Update the package list and install ffmpeg for video processing
|
||||||
RUN apt update && apt install -y ffmpeg
|
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
|
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
|
RUN chmod +x ./yt-dlp
|
||||||
|
Reference in New Issue
Block a user