Blenra
Optimized for: Gemini / ChatGPT / Claude

Advanced AI Prompt for Node.js Prisma and Database Readiness

Use this engineered prompt to drastically optimize your workflow and output.

Required Variables

  • [PRISMA_CLIENT_PATH]
  • [DATABASE_URL_ENV]
  • [MIGRATION_STRATEGY]
nodejs-prisma-docker-readiness.txt
Expert DevSecOps Prompt: Generate a multi-stage Dockerfile for a Node.js app using Prisma ORM. Ensure the Prisma Client is generated during the build stage and correctly placed in [PRISMA_CLIENT_PATH]. Handle the caching of the Prisma engine binary. Create a startup script that checks for [DATABASE_URL_ENV] and executes the [MIGRATION_STRATEGY] before starting the application. Optimize for a Distroless runtime image.

Example Output

"A Dockerfile that handles the specific nuances of Prisma binaries, ensuring the engine is present in the final image without bloat."