You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
youtube-dl-docker/Dockerfile

25 lines
569 B

FROM ubuntu:jammy
ENV DEBIAN_FRONTEND noninteractive
ENV HOME /root
RUN apt update && apt -y upgrade
RUN apt install -y python3-pip ffmpeg locales curl
RUN echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen && \
locale-gen && \
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN pip3 install yt-dlp
ADD youtube-dl.conf /etc/youtube-dl.conf
ADD run.sh /usr/local/bin/run.sh
VOLUME /output
USER nobody:nogroup
WORKDIR /tmp
CMD /bin/bash /usr/local/bin/run.sh
ADD videolist.txt /etc/videolist.txt