Skip to content

Commit 21be0a4

Browse files
authored
Update entrypoint.sh
1 parent 1e78b14 commit 21be0a4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

services/comfy/entrypoint.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,19 @@
33
set -Eeuo pipefail
44

55
mkdir -vp /data/config/comfy/custom_nodes
6+
mkdir -vp /data/config/comfy/user/default/workflows
67

78
declare -A MOUNTS
89

10+
MOUNTS["${ROOT}/models"]="/data/models"
911
MOUNTS["${USER_HOME}/.cache"]="/data/.cache"
12+
1013
MOUNTS["${ROOT}/input"]="/data/config/comfy/input"
1114
MOUNTS["${ROOT}/output"]="/output/comfy"
1215

16+
MOUNTS["${ROOT}/custom_nodes"]="/data/config/comfy/custom_nodes"
17+
MOUNTS["${ROOT}/user"]="/data/config/comfy/user"
18+
1319
for to_path in "${!MOUNTS[@]}"; do
1420
set -Eeuo pipefail
1521
from_path="${MOUNTS[${to_path}]}"

0 commit comments

Comments
 (0)