Multi-Stage Builds, Image Optimization, and Container Security Scanning
<p>Follow Lena Ferro, a backend engineer at streaming startup Turnstile Media, as she turns a bloated 1.4 GB container image into a lean, fast, and secure one. Across three lessons she rewrites a naive Dockerfile into a multi-stage build, chooses the right base image and tightens layer caching and .dockerignore hygiene, and wires a Trivy vulnerability scan into CI so a risky image can never reach production unnoticed.</p>
Tools: docker, multi-stage builds, trivy, distroless