5 ms·
Split the dockerfile into 3 parts. builder image for gems. builder image for assets(nodejs and stuff). copy code from disk, gems from image one, assets from ima
by heroic 6y ago
Split the dockerfile into 3 parts. builder image for gems. builder image for assets(nodejs and stuff). copy code from disk, gems from image one, assets from image two, into the third image. you will end up saving HUGE time
- save_ferris 6y agoThanks, I’m gonna try this.
- timClicks 6y agoDo you have an open source Dockerfile that demonstrates this pattern? I've used builder images before, but not multiple.