Create Multistage Dockerfile

Create multi-stage Dockerfiles that separate build and runtime environments for minimal production images. Covers builder/runtime stage separation, artifact copying, scratch/distroless/alpine targets, and size comparison. Use when production images are too large, when build tools are included in the final image, when you need separate dev and prod images from one Dockerfile, or when deploying to constrained environments like edge or serverless.

pjt222 Updated

File contents

pjt222/agent-almanac/tree/main/skills/create-multistage-dockerfile commit 6c77768e19

Frequently asked questions

npx skillmds@latest add pjt222/create-multistage-dockerfile