1
0
This repository has been archived on 2023-12-27. You can view files and clone it, but cannot push or open issues or pull requests.
youtube-dl-subscriptions/Dockerfile

17 lines
467 B
Docker
Executable File

FROM alpine:3.12
WORKDIR /code
COPY requirements.txt /code/requirements.txt
RUN apk add --no-cache --virtual py-build-deps gcc libc-dev libxslt-dev python3-dev && \
apk add --no-cache python3 py3-pip libxslt ffmpeg && \
pip3 install -r requirements.txt && \
apk del py-build-deps
# Copy this after installing since it changes the most frequently, to take
# advantage of the image layer caching.
COPY dl.py /code/dl.py
ENTRYPOINT ["python3", "dl.py"]