bundle install
bundle exec rackup
docker build .
docker run -p 8080:8080 MY_IMAGE_ID_FROM_ABOVE
Follow the instructions here.
This branch shows some more advanced examples of how to have one repository with multiple starting commands, and how to connect to Memcached or Redis.