Fix prisma not found in entrypoint
This commit is contained in:
1 parent
dedec653ee
commit
6af960b6f8
1 file changed
+1
-1
@@ -6,7 +6,7 @@ echo "[Entrypoint] Waiting for database..."
|
||||
# We just rely on Docker Compose depends_on with condition: service_healthy, so it should be ready.
|
||||
|
||||
echo "[Entrypoint] Applying database schema..."
|
||||
npx prisma db push --accept-data-loss --skip-generate
|
||||
node node_modules/prisma/build/index.js db push --accept-data-loss --skip-generate
|
||||
|
||||
echo "[Entrypoint] Starting Next.js application..."
|
||||
exec node server.js
|
||||
Reference in new issue
Block a user