mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 10:42:34 +01:00
Dockerfile/chore: Reduce layer, update pip and apk, and reduce increased image size by optimization.
This commit is contained in:
parent
c7a42880ab
commit
21ddeab21d
@ -1,5 +1,7 @@
|
|||||||
FROM python:alpine
|
FROM python:alpine
|
||||||
RUN python3 -m pip install -U gallery-dl yt-dlp
|
RUN python3 -m pip install --no-cache-dir -U pip && \
|
||||||
RUN apk update
|
python3 -m pip install --no-cache-dir -U gallery-dl yt-dlp
|
||||||
RUN apk add ffmpeg
|
RUN apk update && \
|
||||||
|
apk add --no-cache ffmpeg && \
|
||||||
|
rm -rf /var/cache/apk/*
|
||||||
ENTRYPOINT [ "gallery-dl" ]
|
ENTRYPOINT [ "gallery-dl" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user