We reduced a real Node.js production Docker image from 1.2GB to 78MB (the-practical-developer.online) 28 points by milkikomasiko 1mo ago ↗ HN
[–] tpaksoy 1mo ago ↗ We had issues running our Node app on alpine. Specifically the dns lookup for our API calls were taking several hundred milliseconds *every* time.Switching to debian reduced it to microseconds.Does anyone here know what I was doing wrong with alpine?
[–] 1a527dd5 1mo ago ↗ Surely this is ripped content?https://sandeepbansod.medium.com/why-your-docker-container-i...
[–] wxw 1mo ago ↗ This website seems entirely filled with AI slop articles targeted towards software eng.
7 comments
[ 4.5 ms ] story [ 27.9 ms ] threadSwitching to debian reduced it to microseconds.
Does anyone here know what I was doing wrong with alpine?
https://sandeepbansod.medium.com/why-your-docker-container-i...