Over the last 2 months, I’ve been scheduling some time to work on a specific Ruby code which is designed to be a good starting point for a refactoring. Those exercises are called Refactoring Katas.
This post will try to share some best practices when writing a Dockerfile for a Ruby application. Most of these suggestions should be valid for any other runtime as well.