Glossary term
What is multi-stage build? Meaning for developers
A Dockerfile with several FROM lines where early stages build things and only the last stage becomes the final image.
Learn it properly · Docker & KubernetesLesson 1: Writing a Dockerfile: Layers, Caching and Small ImagesInstruction by instruction, layer caching, multi-stage builds, base image choice, .dockerignore, and a Node app image built the right way.