Using Docker Multistage Builds to Create Small, Efficient Images
This article explains how Docker's multistage build feature, introduced in version 17.05, enables faster image creation and significantly smaller container sizes by separating build steps into distinct stages within a single Dockerfile, and shows how to target specific stages during the build process.
