15 lines
345 B
Bash
Executable File
15 lines
345 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -u
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
docker compose --env-file deploy/env/local.env \
|
|
-f compose.yaml -f deploy/compose.local.yaml build --pull
|
|
status=$?
|
|
|
|
if [[ "$status" -eq 0 ]]; then
|
|
printf '%s\n' 'Next: docker compose --env-file deploy/env/local.env -f compose.yaml -f deploy/compose.local.yaml up -d'
|
|
fi
|
|
|
|
exit "$status"
|