mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
add env.sh with variables shared in run and build
This commit is contained in:
parent
624fe4794b
commit
3e2cf8a259
13
docker-build/env.sh
Normal file
13
docker-build/env.sh
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
project_name=${PROJECT_NAME:-invokeai}
|
||||||
|
volumename=${VOLUMENAME:-${project_name}_data}
|
||||||
|
arch=${ARCH:-x86_64}
|
||||||
|
platform=${PLATFORM:-Linux/${arch}}
|
||||||
|
invokeai_tag=${INVOKEAI_TAG:-${project_name}-${arch}}
|
||||||
|
|
||||||
|
export project_name
|
||||||
|
export volumename
|
||||||
|
export arch
|
||||||
|
export platform
|
||||||
|
export invokeai_tag
|
Loading…
Reference in New Issue
Block a user