fix(deploy): use --remove-orphans in docker compose up to avoid container name conflicts
Deploy Canina / deploy (push) Successful in 47s
Deploy Canina / deploy (push) Successful in 47s
This commit is contained in:
1 parent
bf60df34ef
commit
b115c971f5
1 file changed
+1
-1
+1
-1
@@ -65,7 +65,7 @@ echo "Building Docker images..."
|
||||
docker compose build --build-arg NEXT_PUBLIC_API_URL="${API_URL}/api" --build-arg VITE_API_URL="${API_URL}"
|
||||
|
||||
echo "Starting containers..."
|
||||
docker compose up -d
|
||||
docker compose up -d --remove-orphans
|
||||
|
||||
echo "Waiting for backend to start..."
|
||||
sleep 15
|
||||
|
||||
Reference in new issue
Block a user