add:deploy stuff

This commit is contained in:
2026-03-10 00:17:00 +09:00
parent 5264b81466
commit 3e3d644649
10 changed files with 211 additions and 52 deletions

14
deploy.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
set -e
echo "Pulling latest code..."
git pull
echo "Building and restarting containers..."
docker compose up -d --build
echo "Cleaning up old images..."
docker image prune -f
echo "Done. Status:"
docker compose ps