Catalyst / admin/Synapse-Sonar 14.8 GB / 57.8 GB 40.0 GB free
Help Sign in

admin / Synapse-Sonar

public

Attack Surface Simulation

Code Issues Pull requests Pipelines Packages Security Insights Wiki Settings
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 "$@"