admin / Synapse-Sonar
publicAttack Surface Simulation
Synapse-Sonar / synapse-sonar / docker-entrypoint.sh
392 B · main
1 2 3 4 5 6 7 8 9 10 11 | #!/bin/sh set -e # The Next.js standalone bundle doesn't ship the `prisma` CLI on PATH, so invoke # its bundled entrypoint directly with node. Engines + @prisma packages are # copied into the runner image (see Dockerfile). echo "[synapse-sonar] Applying database migrations..." node node_modules/prisma/build/index.js migrate deploy echo "[synapse-sonar] Starting application..." exec "$@" |