This commit is contained in:
2019-07-21 19:48:52 -07:00
parent a486042b54
commit 91439c19fc
6 changed files with 60 additions and 3 deletions

View File

@@ -4,9 +4,17 @@ ENV DEBIAN_FRONTEND noninteractive
ENV HOME /root
RUN apt update && apt -y upgrade
RUN apt install -y python3-pip ffmpeg locales
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
RUN apt install -y python3-pip
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN pip3 install youtube_dl
ADD youtube-dl.conf /etc/youtube-dl.conf
ADD entrypoint.sh /usr/local/bin/entrypoint.sh
ADD youtube-dl.conf /root/.config/youtube-dl/config
USER nobody:nogroup
WORKDIR /tmp
CMD /bin/bash /usr/local/bin/entrypoint.sh