DEV Community

Discussion on: Dockerizing a Workspaced Node.js Application

Collapse
 
mbelsky profile image
Max Belsky

Igor, sorry for late reply.

This is an interesting point about choosing stage images. I use node:alpine twice because anyway on second stage I'll need this. So docker downloads it on first stage and takes from cache for second stage. With different images for first and second stages docker will download two images and in total it will spend more time.