Clean up docker-compose.yml and update to version 3.8. Updated Dockerfile to follow Docker's best practices. Added comments to help make it easier to understand for contributors not using Docker.
Installing rails using 'gem' is much more tricky to manage than using the version set in the Gemfile via 'bundle exec'