mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
add script to easily run the container
This commit is contained in:
parent
963e0f8a53
commit
38ff75c7ea
15
docker-build/run.sh
Executable file
15
docker-build/run.sh
Executable file
@ -0,0 +1,15 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
source ./docker-build/env.sh || echo "please run from repository root" || exit 1
|
||||||
|
|
||||||
|
docker run \
|
||||||
|
--interactive \
|
||||||
|
--tty \
|
||||||
|
--rm \
|
||||||
|
--platform "$platform" \
|
||||||
|
--name "$project_name" \
|
||||||
|
--hostname "$project_name" \
|
||||||
|
--mount source="$volumename",target=/data \
|
||||||
|
--publish 9090:9090 \
|
||||||
|
"$invokeai_tag" ${1:+$@}
|
Loading…
x
Reference in New Issue
Block a user