deno option
This commit is contained in:
@@ -2,10 +2,10 @@
|
|||||||
# This Dockerfile sets up a container with Python 3 and yt-dlp for downloading YouTube videos.
|
# 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
|
# Use the official Python 3 bookworm image as the base
|
||||||
FROM python:3-bookworm
|
FROM denoland/deno:debian
|
||||||
|
|
||||||
# Update the package list and install ffmpeg for video processing
|
# Update the package list and install ffmpeg for video processing
|
||||||
RUN apt update && apt install -y ffmpeg
|
RUN apt update && apt install -y ffmpeg python3 wget
|
||||||
|
|
||||||
# Download the latest version of yt-dlp from GitHub
|
# 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
|
||||||
|
|||||||
Reference in New Issue
Block a user