diff --git a/Dockerfile b/Dockerfile index 77e97cd9..26c0d850 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,19 @@ FROM python:alpine -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/* +ENV LANG=C.UTF-8 + +RUN : \ + && apk --no-interactive update \ + && apk --no-cache --no-interactive add ffmpeg \ + && rm -rf /var/cache/apk \ + && : + +RUN : \ + && python3 -B -m pip --no-cache-dir --no-input --disable-pip-version-check install -U \ + pip \ + && python3 -B -m pip --no-cache-dir --no-input --disable-pip-version-check install -U \ + gallery-dl \ + yt-dlp \ + && rm -rf /root/.cache/pip \ + && : + ENTRYPOINT [ "gallery-dl" ]