loading...

Discussion on: Docker for nodejs

Collapse
dance2die profile image
Sung M. Kim

Being a docker newbie myself, would it make sense to start off with an alpine version and only use only if there is a problem?

Or should I stick with a full node image initially?

Thread Thread
yanikpei profile image
Yanik Peiffer

I like to keep my images small, because I store them online in my image registry. Whenever a node package doesn’t work and is definitely required I try out another node image. Worst option is the full node image. With this option the size of my docker images can be up to 1gb..

Thread Thread
dance2die profile image
Sung M. Kim

Been wondering why some of my images are gigantic!... I see that a layer choice makes a huge difference in terms of the result image size.

Thank you, Yanik