From 1d668325e6e4312cc8b8e2c4a2b2e0e1ebf3e48d Mon Sep 17 00:00:00 2001 From: Moh Dzulfikri Maulana <106526316+Dzuuul@users.noreply.github.com> Date: Tue, 10 Mar 2026 08:42:16 +0700 Subject: [PATCH] chore: Update deploy script to pull Docker image instead of building locally for VPS deployment. --- deploy.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 97f52ed..b77cedd 100755 --- a/deploy.sh +++ b/deploy.sh @@ -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..."