chore: Update deploy script to pull Docker image instead of building locally for VPS deployment.
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -21,7 +21,9 @@ fi
|
||||
echo "📦 Membangun dan menjalankan container aplikasi..."
|
||||
# Langsung jalankan perintah docker-compose up
|
||||
# --build memastikan image terbaru selalu dibuat
|
||||
$COMPOSE_CMD up -d --build app
|
||||
# Versi untuk di VPS (Hanya tarik image, jangan build ulang)
|
||||
$COMPOSE_CMD pull app
|
||||
$COMPOSE_CMD up -d --remove-orphans app
|
||||
|
||||
# Membersihkan image sampah
|
||||
echo "🧹 Membersihkan image lama..."
|
||||
|
||||
Reference in New Issue
Block a user