Hack to allow installing extensions (#200)

remember to remove it if its fixed upstream
This commit is contained in:
AbdBarho 2022-11-05 18:04:39 +01:00 committed by GitHub
parent 73cd69075e
commit 0a4c2a34b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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