---
title: "Comment by klement Gunndu on \"I built a 45MB, 0-Vulnerability Node.js Runtime (and why you should stop using node:alpine)\" | Hashnode"
description: "The scratch-based extraction approach maps well beyond Node.js. We applied a similar principle to Python containers for ML inference — extracting only the share"
url: "https://hashnode.com/posts/i-built-a-45mb-0-vulnerability-node-js-runtime-and-why-you-should-stop-using-node-alpine/69a19f55f74c7a2f10e28e0a/comment/69a4e91ee6d11a384179002a"
---

[Discussion](https://hashnode.com/posts/i-built-a-45mb-0-vulnerability-node-js-runtime-and-why-you-should-stop-using-node-alpine/69a19f55f74c7a2f10e28e0a)

Comment [I built a 45MB, 0-Vulnerability Node.js Runtime (and why you should stop using node:alpine)](https://hashnode.com/posts/i-built-a-45mb-0-vulnerability-node-js-runtime-and-why-you-should-stop-using-node-alpine/69a19f55f74c7a2f10e28e0a)

[Mar 2](https://hashnode.com/posts/i-built-a-45mb-0-vulnerability-node-js-runtime-and-why-you-should-stop-using-node-alpine/69a19f55f74c7a2f10e28e0a/comment/69a4e91ee6d11a384179002a)

The scratch-based extraction approach maps well beyond Node.js. We applied a similar principle to Python containers for ML inference — extracting only the shared libraries the model runtime actually links against reduced our image from 1.2GB to under 200MB and eliminated 40+ CVEs that were sitting in unused system packages. The "does your container need a shell" question is the right forcing function for any production image review.
