Files
taller_automotriz/entrypoint.sh
T
Beldor 3028bde671 fix: switch to full node_modules in runner to resolve prisma CLI dependencies
Removes standalone build to allow prisma CLI to run migrations at startup.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 13:19:09 -03:00

7 lines
178 B
Bash

#!/bin/sh
set -e
echo "Corriendo migraciones..."
node node_modules/prisma/build/index.js migrate deploy
echo "Migraciones OK. Iniciando app..."
exec node_modules/.bin/next start