Skip to content

Commit

Permalink
Fix link / mkdir order (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdBarho committed Jan 19, 2023
1 parent 6684637 commit 042d5c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ services:
<<: *base_service
profiles: ["auto"]
build: ./services/AUTOMATIC1111
image: sd-auto:34
image: sd-auto:35
environment:
- CLI_ARGS=--allow-code --medvram --xformers --enable-insecure-extension-access --api

Expand Down
5 changes: 3 additions & 2 deletions services/AUTOMATIC1111/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

set -Eeuo pipefail

# mount scripts individually
cp -vrTs /data/config/auto/scripts/ "${ROOT}/scripts/"
# TODO: move all mkdir -p ?
mkdir -p /data/config/auto/scripts/
# mount scripts individually
cp -vrTs /data/config/auto/scripts/ "${ROOT}/scripts/"

cp -n /docker/config.json /data/config/auto/config.json
jq '. * input' /data/config/auto/config.json /docker/config.json | sponge /data/config/auto/config.json

Expand Down

0 comments on commit 042d5c5

Please sign in to comment.