Update Versions (#230)

- auto:
47a44c7e42
- hlky:
269107a104


Refs #216
This commit is contained in:
AbdBarho 2022-11-20 11:05:39 +01:00 committed by GitHub
parent 8623c73741
commit 9e7979b756
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 6 deletions

View File

@ -27,7 +27,7 @@ services:
<<: *base_service
profiles: ["auto"]
build: ./services/AUTOMATIC1111
image: sd-auto:16
image: sd-auto:17
environment:
- CLI_ARGS=--allow-code --medvram --xformers
@ -42,7 +42,7 @@ services:
<<: *base_service
profiles: ["hlky"]
build: ./services/hlky/
image: sd-hlky:8
image: sd-hlky:9
environment:
- CLI_ARGS=--optimized-turbo
- USE_STREAMLIT=0

View File

@ -70,7 +70,7 @@ RUN pip install opencv-python-headless \
# Note: don't update the sha of previous versions because the install will take forever
# instead, update the repo state in a later step
ARG SHA=98947d173e3f1667eba29c904f681047dea9de90
ARG SHA=47a44c7e421b98ca07e92dbf88769b04c9e28f86
RUN <<EOF
cd stable-diffusion-webui
git fetch
@ -88,9 +88,9 @@ mv ${ROOT}/style.css ${ROOT}/user.css
sed -i 's/os.rename(tmpdir, target_dir)/shutil.move(tmpdir,target_dir)/' ${ROOT}/modules/ui_extensions.py
EOF
WORKDIR ${ROOT}/repositories/stable-diffusion
WORKDIR ${ROOT}
ENV CLI_ARGS=""
EXPOSE 7860
ENTRYPOINT ["/docker/entrypoint.sh"]
# run, -u to not buffer stdout / stderr
CMD python3 -u ../../webui.py --listen --port 7860 --ckpt-dir ${ROOT}/models/Stable-diffusion ${CLI_ARGS}
CMD python3 -u webui.py --listen --port 7860 ${CLI_ARGS}

View File

@ -25,7 +25,7 @@ EOF
RUN apt-get update && apt install libsndfile1 ffmpeg -y && apt-get clean
ARG BRANCH=master SHA=09b64d4f759c44c7c6bc4d433ddd8e964d48b854
ARG BRANCH=dev SHA=269107a104fc9fee3201eb2c56cf7adb3d063e4b
RUN <<EOF
cd stable-diffusion
git fetch

View File

@ -6,4 +6,5 @@ general:
outdir_txt2img: /output/txt2img-samples
outdir_img2img: /output/img2img-samples
outdir_img2txt: /output/img2txt
optimized: True
optimized_turbo: True