re: Docker for nodejs VIEW POST

re: Yes that is true but some packages like bcrypt which are built by node-gyp from source causes problems in alpine

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?

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..

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

code of conduct - report abuse