Rails on Docker

via

  • Start with Alpine
  • Multi-stage build
  • Trim build cruft (bundler cache, node_modules, etc)

See also, Jason describing the basics of docker for server dependencies (database, redis, elasticsearch being good opportunities), while still running rails system-native.

About

Avatar of Author

Jamie Macey is a senior software engineer with over 15 years experience in the Ruby and Rails ecosystems, largely on the back-end.

Husband, father, gamer, and all-around geek. Ask about my latest 3d print, or toy software project.