#!/bin/bash # Production rebuild script — rebuilds and restarts terra-view on :8001 set -e SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" cd "$SCRIPT_DIR" echo "Building terra-view production..." docker compose -f docker-compose.yml build terra-view docker compose -f docker-compose.yml up -d terra-view echo "Done — terra-view production is running on :8001"