Structure to create a microservice, uses Grape
bundle install
docker build . -t sturm:latest
export DESIRED_PORT=9292
export ENVIRONMENT=production
docker run -p "$DESIRED_PORT":9292 sturm:latest bundle exec rackup -o 0.0.0.0 -E "$ENVIRONMENT"
- Diego Camargo