mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-03-03 20:03:57 +01:00
Hack to allow installing extensions
This commit is contained in:
parent
73cd69075e
commit
f8ce6f4925
|
|
@ -27,7 +27,7 @@ services:
|
||||||
<<: *base_service
|
<<: *base_service
|
||||||
profiles: ["auto"]
|
profiles: ["auto"]
|
||||||
build: ./services/AUTOMATIC1111
|
build: ./services/AUTOMATIC1111
|
||||||
image: sd-auto:12
|
image: sd-auto:13
|
||||||
environment:
|
environment:
|
||||||
- CLI_ARGS=--allow-code --medvram --xformers
|
- CLI_ARGS=--allow-code --medvram --xformers
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -84,6 +84,7 @@ COPY . /docker
|
||||||
RUN <<EOF
|
RUN <<EOF
|
||||||
python3 /docker/info.py ${ROOT}/modules/ui.py
|
python3 /docker/info.py ${ROOT}/modules/ui.py
|
||||||
mv ${ROOT}/style.css ${ROOT}/user.css
|
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
|
EOF
|
||||||
|
|
||||||
WORKDIR ${ROOT}/repositories/stable-diffusion
|
WORKDIR ${ROOT}/repositories/stable-diffusion
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue