mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(docker): ensure the container has write permission to the runtime directory
This commit is contained in:
parent
a6283b9fb6
commit
b00e27b022
@ -33,7 +33,8 @@ if [[ -v "PUBLIC_KEY" ]] && [[ ! -d "${HOME}/.ssh" ]]; then
|
|||||||
service ssh start
|
service ssh start
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
mkdir -p "${INVOKEAI_ROOT}"
|
||||||
|
chown --recursive ${USER} "${INVOKEAI_ROOT}"
|
||||||
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…
Reference in New Issue
Block a user