This is a VERY small mri Rails Image, based on the ruby:2.4.1-alpine.
As a prerequisite, you need Docker to be installed.
To run:
$ rails new .
$ docker build -t smapira/alpine-rails .
$ docker run -d -p 300:3000 smapira/alpine-rails
$ open http://localhost:3000