Why Multistage Docker Builds Are Better Than Regular Builds
The Problem
Most Dockerfiles I see (and the ones I wrote earlier) have two big problems:
Images are heavy
Images are not secure
You install build tools, compilers, dependencies, package managers… and then you ship all of that to production.
That ...
guycalledavinash.hashnode.dev3 min read