(no title)
heroic
|
5 years 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
timClicks|5 years ago
hadlock|5 years ago
Just remember to have a process to rebuild your base image at least once a month so you pick up latest security fixes etc.
save_ferris|5 years ago