Tag

multistage-build

1 views collected around this technical thread.

Top Architect
Top Architect
Jan 6, 2021 · Cloud Computing

Docker Image Optimization: Reducing Size from 1.16 GB to 22.4 MB

This article explains how to shrink a Docker image for a React application from 1.16 GB to 22.4 MB by using a lightweight Alpine base, multi‑stage builds, and finally serving the compiled assets with Nginx, providing step‑by‑step Dockerfile examples and size comparisons.

AlpineContainerizationDocker
0 likes · 7 min read
Docker Image Optimization: Reducing Size from 1.16 GB to 22.4 MB
DevOps Cloud Academy
DevOps Cloud Academy
Dec 6, 2020 · Cloud Native

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.

Cloud NativeContainerDocker
0 likes · 6 min read
Using Docker Multistage Builds to Create Small, Efficient Images
Qunar Tech Salon
Qunar Tech Salon
Sep 6, 2018 · Cloud Native

Three Simple Tricks for Smaller Docker Images: Multi‑Stage Builds, Distroless, and Alpine

This article explains how to reduce Docker image size by consolidating RUN commands, using multi‑stage builds, and switching to minimal base images such as distroless or Alpine, providing concrete Node.js examples, size comparisons, and guidance on choosing the right base image for production.

AlpineContainer OptimizationDocker
0 likes · 12 min read
Three Simple Tricks for Smaller Docker Images: Multi‑Stage Builds, Distroless, and Alpine