diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index 194615e515..7fb52f3af9 100755 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -33,7 +33,8 @@ if [[ -v "PUBLIC_KEY" ]] && [[ ! -d "${HOME}/.ssh" ]]; then service ssh start fi - +mkdir -p "${INVOKEAI_ROOT}" +chown --recursive ${USER} "${INVOKEAI_ROOT}" cd "${INVOKEAI_ROOT}" # Run the CMD as the Container User (not root).