mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
22 lines
423 B
Docker
22 lines
423 B
Docker
#
|
|
# Dockerfile for youtube-dl
|
|
#
|
|
|
|
FROM python:3.9-alpine
|
|
MAINTAINER EasyPi Software Foundation
|
|
|
|
RUN set -xe \
|
|
&& apk add --no-cache ca-certificates \
|
|
ffmpeg \
|
|
openssl \
|
|
aria2 \
|
|
&& pip3 install --no-cache-dir youtube-dl
|
|
|
|
# Try to run it so we know it works
|
|
RUN youtube-dl --version
|
|
|
|
WORKDIR /data
|
|
|
|
ENTRYPOINT ["youtube-dl"]
|
|
CMD ["--help"]
|