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

Advanced AI Prompt for Node.js Pnpm and Store Optimization

Customize the variables below to instantly engineer your prompt.

Required Variables

nodejs-pnpm-store-docker-optimization.txt
Act as a CI/CD Performance Expert. Design a Dockerfile specifically engineered for the `pnpm` package manager. Utilize the pnpm global store at [STORE_PATH] combined with Docker BuildKit (`--mount=type=cache`) to eliminate redundant downloads. Implement a strict multi-stage build: Stage 1 must perform a `[FETCH_COMMAND]` to download dependencies exclusively based on `pnpm-lock.yaml` before copying the source code. Stage 2 builds the application. Stage 3 (Runner) must only contain the pruned production `node_modules` and the compiled `dist` folder. Ensure the [PNPM_VERSION] is strictly pinned via `corepack` for absolute reproducibility.

Example Text Output

"A modern Dockerfile that leverages Pnpm's content-addressable storage for extremely fast and space-efficient builds."

More Cloud & DevOps Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Node.js Pnpm and Store Optimization" prompt used for?

A modern Dockerfile that leverages Pnpm's content-addressable storage for extremely fast and space-efficient builds.

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.