10 lines
247 B
Bash
Executable File
10 lines
247 B
Bash
Executable File
#!/bin/bash
|
|
# Auto-deploy: pull latest + rebuild containers
|
|
set -e
|
|
cd "$(dirname "$0")"
|
|
echo "🔄 Pulling latest..."
|
|
git pull
|
|
echo "🐳 Rebuilding containers..."
|
|
docker compose up -d --build backend frontend
|
|
echo "🚀 Deploy complete! $(date)"
|