11 lines
391 B
Bash
11 lines
391 B
Bash
#!/bin/bash
|
|
|
|
set -e # 에러 발생 시 즉시 종료
|
|
|
|
echo "🌐 Stopping and cleaning up old frontend containers..."
|
|
docker compose -f docker-compose.frontend.yml -p frontend down --remove-orphans
|
|
|
|
echo "🛠 Building and starting frontend container..."
|
|
docker compose -f docker-compose.frontend.yml -p frontend up -d --build --remove-orphans
|
|
|
|
echo "✅ Frontend stack is up and running." |