mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(docker): ensure 'chown' does not break on read-only fs; fixes #6264
This commit is contained in:
parent
42c2dea202
commit
4313578d8e
@ -34,7 +34,7 @@ if [[ -v "PUBLIC_KEY" ]] && [[ ! -d "${HOME}/.ssh" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p "${INVOKEAI_ROOT}"
|
mkdir -p "${INVOKEAI_ROOT}"
|
||||||
chown --recursive ${USER} "${INVOKEAI_ROOT}"
|
chown --recursive ${USER} "${INVOKEAI_ROOT}" || true
|
||||||
cd "${INVOKEAI_ROOT}"
|
cd "${INVOKEAI_ROOT}"
|
||||||
|
|
||||||
# Run the CMD as the Container User (not root).
|
# Run the CMD as the Container User (not root).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user