this tutorial shows you how you can dramatically reduce the size of your nodejs docker images using multi-stage builds combined with tiny operating systems. i explain how to build a very small node.js docker image using google distroless, red hat universal base image (UBI) and debian slim. I also show that these containers are just as small as alpine images but don’t have the disadvantage of not being officially supported. net result in tiny node.js docker containers that are supported, and can run in docker and kubernetes.

#node.js #docker

Use Multi-stage to Build Super Slim Node.js Docker Images..  From 780MB To Less Than 50MB
1.40 GEEK