Skip to content

Commit

Permalink
fix: add issing ARGs
Browse files Browse the repository at this point in the history
Signed-off-by: 陳鈞 <[email protected]>

# Conflicts:
#	Dockerfile
  • Loading branch information
jim60105 committed Apr 29, 2024
1 parent 77394b7 commit 7375ed2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ RUN --mount=type=cache,id=pip-$TARGETARCH$TARGETVARIANT,sharing=locked,target=/r
######
FROM build_big as build

ARG TARGETARCH
ARG TARGETVARIANT

# Install requirements
RUN --mount=type=cache,id=pip-$TARGETARCH$TARGETVARIANT,sharing=locked,target=/root/.cache/pip \
--mount=source=stable-diffusion-webui/requirements_versions.txt,target=requirements.txt \
Expand Down Expand Up @@ -163,6 +166,7 @@ LABEL name="jim60105/docker-stable-diffusion-webui" \
FROM prepare_final as final

# Copy dependencies and code (and support arbitrary uid for OpenShift best practice)
ARG UID
COPY --link --chown=$UID:0 --chmod=775 --from=build /root/.local /home/$UID/.local
COPY --link --chown=$UID:0 --chmod=775 stable-diffusion-webui /app

Expand Down

0 comments on commit 7375ed2

Please sign in to comment.