Update Dockerfile

This commit is contained in:
simonmcnair 2025-03-10 20:50:08 +00:00 committed by GitHub
parent 4bd3e0bed2
commit 07fc053296
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,12 @@
FROM bash:alpine3.19
ARG PUID=0
ARG PGID=0
# set build args as container environment variables for entrypoint reference
ENV PUID=$PUID
ENV PGID=$PGID
RUN apk update && apk add parallel aria2
COPY . /docker
COPY --chown=$PUID:$PGID . /docker
RUN chmod +x /docker/download.sh
ENTRYPOINT ["/docker/download.sh"]