To build the docker image and create the application container, run:
docker build .
docker-compose up
Open a new terminal window to create the database and run the migrations:
docker-compose run web rails db:create
docker-compose run web rails db:migrate
Connect to localhost:3000
in the browser to see the application running
To run unit tests:
docker-compose run web bundle exec rspec spec