Blenra LogoBlenra
Optimized for: Gemini / ChatGPT / Claude
#Docker

Advanced AI Prompt for Node.js Next.js Standalone Deployment

Customize the variables below to instantly engineer your prompt.

Required Variables

nextjs-standalone-docker-optimization.txt
You are a Frontend Infrastructure Engineer. Create a multi-stage Dockerfile optimized for Next.js 13/14+ 'standalone' output. Stage 1: Install and Build. Stage 2: Selective copy of .next/standalone, .next/static, and public folder. Ensure 'sharp' (version [SHARP_VERSION]) is correctly handled for image optimization. The final image should be the absolute minimum size required to run the Next.js server, excluding all source code and development tools.

Example Text Output

"A specialized Dockerfile that reduces Next.js image sizes from 1GB+ down to ~100MB by utilizing the standalone output feature."

More Cloud & DevOps Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Node.js Next.js Standalone Deployment" prompt used for?

A specialized Dockerfile that reduces Next.js image sizes from 1GB+ down to ~100MB by utilizing the standalone output feature.

Which AI tools work with this prompt?

This prompt is optimized for Gemini / ChatGPT / Claude, but works great with ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI tool.

How do I customize this prompt?

Use the variable fields above to fill in your specific details. The prompt will auto-update as you type, ready to copy instantly.

Is this prompt free?

Yes! All prompts on Blenra are free to copy and use immediately. No account required.