mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2025-12-06 07:12:11 +01:00
Update entrypoint.sh
no_root
This commit is contained in:
parent
b336cbc064
commit
40e1e818be
|
|
@ -6,7 +6,7 @@ mkdir -vp /data/config/comfy/custom_nodes
|
|||
|
||||
declare -A MOUNTS
|
||||
|
||||
MOUNTS["/root/.cache"]="/data/.cache"
|
||||
MOUNTS["${USER_HOME}/.cache"]="/data/.cache"
|
||||
MOUNTS["${ROOT}/input"]="/data/config/comfy/input"
|
||||
MOUNTS["${ROOT}/output"]="/output/comfy"
|
||||
|
||||
|
|
@ -28,4 +28,9 @@ if [ -f "/data/config/comfy/startup.sh" ]; then
|
|||
popd
|
||||
fi
|
||||
|
||||
chown -R root ~/.cache/
|
||||
chmod 766 ~/.cache/
|
||||
chown -R $PUID:$PGID ~/.cache/
|
||||
chmod 776 ~/.cache/
|
||||
|
||||
exec "$@"
|
||||
|
|
|
|||
Loading…
Reference in a new issue