Files
ThothII/scripts/build-local.sh
T

14 lines
277 B
Bash
Executable File

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