fix: invoke prisma via node directly to preserve __dirname for WASM resolution

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Beldor
2026-06-18 13:15:31 -03:00
parent 9a3ef4efc3
commit fb92021bf6
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/sh
set -e
echo "Corriendo migraciones..."
node_modules/.bin/prisma migrate deploy
node /app/node_modules/prisma/build/index.js migrate deploy
echo "Migraciones OK. Iniciando app..."
exec node server.js