fix: remove :ro from .output mount for prisma client copy

This commit is contained in:
2026-04-26 17:25:43 +05:00
parent b25efbb135
commit 42899368ed
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -53,5 +53,5 @@ jobs:
docker compose -f /opt/xflow/docker-compose.yml up -d --no-deps --force-recreate xflow
echo "⏳ Waiting for container to start..."
sleep 5
docker exec xflow sh -c "cd /app && npm init -y && npm install prisma@7.8.0 && export DATABASE_URL=postgresql://xflow:xflow_pass@postgres:5432/xflow && npx prisma migrate deploy --config prisma.config.ts"
docker exec xflow sh -c "cd /app && npm init -y && npm install prisma@7.8.0 @prisma/client@7.8.0 && npx prisma generate && export DATABASE_URL=postgresql://xflow:xflow_pass@postgres:5432/xflow && npx prisma migrate deploy --config prisma.config.ts"
echo "✅ XFlow deployed at $(date)"