Hacker News new | ask | show | jobs
by hipsters_unite 4224 days ago
If you add the Gemfile and Gemfile.lock to the image before you add all the application files you can cache that step IIRC, then only if that step changes will bundle install run, so long as it's placed after that step.