Files
yt-downloader/Dockerfile
T
2026-05-02 10:09:01 +02:00

12 lines
320 B
Docker

FROM alpine:3.22.4
USER root
RUN apk upgrade --no-cache
RUN apk add --no-cache ffmpeg mutagen curl
RUN curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /yt-dlp
RUN chmod a+rx /yt-dlp
COPY . .
RUN mkdir /download
RUN mkdir /music
RUN chmod +x download.sh
CMD ["sh", "./download.sh"]