DEV Community

Discussion on: How To Build a Node.js Application with Docker

Collapse
renatosuero profile image
Renato Suero

Hey katjuell,

Great post, congrats =)
I'd like to suggest to you try to use node:10-alpine the image will be smaller, as you can see in the image below.

Node X Node:alpine

Collapse
katjuell profile image
katjuell Author

Thanks for the suggestion! I went back and forth about this issue while writing since I was thinking about this as more of a development setup. I'm really glad you brought it up, though, and I've added a discussion about it to the creation of the Dockerfile, along with some links for folks who are considering whether or not this is right for their project.
Thanks again!