Dockerfile/chore: Reduce layer, update pip and apk, and reduce increased image size by optimization.

pull/5097/head
Constantin Hong 8 months ago
parent c7a42880ab
commit 21ddeab21d

@ -1,5 +1,7 @@
FROM python:alpine
RUN python3 -m pip install -U gallery-dl yt-dlp
RUN apk update
RUN apk add ffmpeg
RUN python3 -m pip install --no-cache-dir -U pip && \
python3 -m pip install --no-cache-dir -U gallery-dl yt-dlp
RUN apk update && \
apk add --no-cache ffmpeg && \
rm -rf /var/cache/apk/*
ENTRYPOINT [ "gallery-dl" ]

Loading…
Cancel
Save