Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I do "bundle install --standalone" in a separate Docker image whenever I update dependencies, and don't install/run bundler at all in the deployment image.

A typical large Ruby app ends up dragging in tons of build dependencies that does not need to be in the final image to be able to do things like compile extensions etc.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: