fix: copy prisma.config.ts to runner stage and auto-run migrations on startup

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Beldor
2026-06-18 13:09:25 -03:00
parent 816530724d
commit 1339f42e69
3 changed files with 18 additions and 4 deletions
+6
View File
@@ -0,0 +1,6 @@
#!/bin/sh
set -e
echo "Corriendo migraciones..."
node_modules/.bin/prisma migrate deploy
echo "Migraciones OK. Iniciando app..."
exec node server.js