Rails on Docker: Using an Entrypoint File in your Containers
When using Docker to run your Rails apps in development, you might come across a leftover server.pid file in your app's tmp/ folder. Learn how to overcome this problem, especially when scaling the number of your app's containers
Rails on Docker: Using Yarn to Manage Frontend Assets
If you’re using Yarn to manage your app’s frontend libraries, you’ll need to ensure that Yarn is available to use when adding or precompiling your assets in your Docker container. To do this, you’ll need to add a few extra lines to your app’s Dockerfile.
Rails on Docker: Quickly Create or Update Your Gemfile.lock
As I migrate all of my Rails apps to Docker, I’ve learned to avoid making changes to the Gemfile whenever possible.