From 5407bd0b009c75d78561e78b00dd158c06e0fd63 Mon Sep 17 00:00:00 2001 From: Destiny Saturday Date: Sun, 28 Jul 2024 18:55:13 +0100 Subject: [PATCH] Update team_deploy.sh Signed-off-by: Destiny Saturday --- scripts/team_deploy.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/team_deploy.sh b/scripts/team_deploy.sh index 8f3f0eab6..98e81ce27 100755 --- a/scripts/team_deploy.sh +++ b/scripts/team_deploy.sh @@ -22,4 +22,6 @@ PORT=$2 git pull origin dev docker pull hngdevops/nextjs-boilerplate:dev +docker stop hngdevops/nextjs-boilerplate:dev +docker rm hngdevops/nextjs-boilerplate:dev -f docker run -d --name "$TEAM_NAME" -p "$PORT:3000" hngdevops/nextjs-boilerplate:dev