merge #5097: update Dockerfile

- remove a layer and reduce image size
- update pip and apk
This commit is contained in:
Mike Fährmann
2024-02-24 02:06:35 +01:00

View File

@@ -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" ]