Hack to allow installing extensions (#200)
remember to remove it if its fixed upstream
This commit is contained in:
parent
73cd69075e
commit
0a4c2a34b8
@ -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 New Issue
Block a user