Tag
multi-stage-build
Safeguard articles tagged "multi-stage-build" — guides, analysis, and best practices for software supply chain and application security.
2 articles
Container Security
Multi-Stage Docker Builds: A Security Pattern, Not Just a Size Trick
Multi-stage builds are pitched as a way to shrink images. Their bigger payoff is security: build secrets, compilers, and toolchains that never reach production. Here is how to use them right.
Jul 8, 20265 min read
Container Security
How to Containerize a Node.js App Securely
The default Node.js Dockerfile runs as root, ships dev dependencies, and bakes secrets into layers. Here is a secure, multi-stage build you can copy, step by step.
Jul 1, 20266 min read