I wrote a quick tutorial on modifying the default Rails 7 Dockerfile to use Alpine Linux. Alpine is a lightweight distribution that can result in much smaller Docker images for your apps.