mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-02-08 00:24:25 +01:00
Update hlky to dev branch
This commit is contained in:
parent
03c6637715
commit
f097b266c2
|
|
@ -7,6 +7,7 @@ services:
|
||||||
args:
|
args:
|
||||||
# You can choose any commit sha from https://github.com/hlky/stable-diffusion/commits/main
|
# You can choose any commit sha from https://github.com/hlky/stable-diffusion/commits/main
|
||||||
# USE AT YOUR OWN RISK! otherwise just leave it empty.
|
# USE AT YOUR OWN RISK! otherwise just leave it empty.
|
||||||
|
BRANCH:
|
||||||
WEBUI_SHA:
|
WEBUI_SHA:
|
||||||
ports:
|
ports:
|
||||||
- "7860:7860"
|
- "7860:7860"
|
||||||
|
|
|
||||||
|
|
@ -23,9 +23,16 @@ 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 WEBUI_SHA=b9d97c9816251933d094f1dae43d2c631a07db7a
|
ARG BRANCH=dev
|
||||||
RUN cd stable-diffusion && git pull && git reset --hard ${WEBUI_SHA} && \
|
ARG WEBUI_SHA=be2ece06837e37d90181a17340c7e1aac91ba4fb
|
||||||
conda env update --file environment.yaml --name base && conda clean -a -y
|
RUN <<EOF
|
||||||
|
cd stable-diffusion
|
||||||
|
git fetch
|
||||||
|
git checkout ${BRANCH}
|
||||||
|
git reset --hard ${WEBUI_SHA}
|
||||||
|
conda env update --file environment.yaml -n base
|
||||||
|
conda clean -a -y
|
||||||
|
EOF
|
||||||
|
|
||||||
# Textual inversion
|
# Textual inversion
|
||||||
RUN <<EOF
|
RUN <<EOF
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue