Multi-stage Build1 recipe

Efficient multi-stage Docker builds

dockerDockerfileintermediateVerified
Production Multi-Stage Dockerfile for Node.js

A minimal, secure multi-stage Dockerfile for Node.js apps. The build stage installs devDependencies, the production stage copies only the compiled output — keeping the final image under 150 MB.