mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
12 lines
217 B
Bash
Executable File
12 lines
217 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
build_args=""
|
|
|
|
[[ -f ".env" ]] && build_args=$(awk '$1 ~ /\=[^$]/ {print "--build-arg " $0 " "}' .env)
|
|
|
|
echo "docker compose build args:"
|
|
echo $build_args
|
|
|
|
docker compose build $build_args
|