mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-01-20 15:30:26 +01:00
Update Dockerfile
This commit is contained in:
parent
4bd3e0bed2
commit
07fc053296
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue