mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-02-08 08:34:21 +01:00
rename to SHA
This commit is contained in:
parent
069a4b0ec3
commit
afddb7e10b
|
|
@ -26,12 +26,12 @@ RUN pip install -U --no-cache-dir pyperclip
|
||||||
# Note: don't update the sha of previous versions because the install will take forever
|
# Note: don't update the sha of previous versions because the install will take forever
|
||||||
# instead, update the repo state in a later step
|
# instead, update the repo state in a later step
|
||||||
ARG BRANCH=master
|
ARG BRANCH=master
|
||||||
ARG WEBUI_SHA=2236e8b5854092054e2c30edc559006ace53bf96
|
ARG SHA=2236e8b5854092054e2c30edc559006ace53bf96
|
||||||
RUN <<EOF
|
RUN <<EOF
|
||||||
cd stable-diffusion
|
cd stable-diffusion
|
||||||
git fetch
|
git fetch
|
||||||
git checkout ${BRANCH}
|
git checkout ${BRANCH}
|
||||||
git reset --hard ${WEBUI_SHA}
|
git reset --hard ${SHA}
|
||||||
conda env update --file environment.yaml -n base
|
conda env update --file environment.yaml -n base
|
||||||
conda clean -a -y
|
conda clean -a -y
|
||||||
EOF
|
EOF
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue