This commit is contained in:
Aditya Siregar 2025-09-01 19:46:48 +07:00
parent 38e1bb5027
commit 4ff01920e7

View File

@ -9,11 +9,9 @@ git pull
echo "🐳 Building Docker image..."
docker build -t apskel-frontend .
echo "🛑 Stopping and removing old container..."
docker stop $APP_NAME 2>/dev/null
docker rm $APP_NAME 2>/dev/null
echo "🚀 Running new container..."
docker run -d --name $APP_NAME \
-p 8080:$PORT \
$APP_NAME:latest