A simple Sinatra WebApp example
- Ruby 3.1.0
gem install bundler
cd src
bundle install
bundle exec rackup --host 0.0.0.0 --port 4567
docker build --tag xyz-webapp .
docker run -d -p 3001:3001 -e PORT=3001 xyz-webapp:latest
Alternatively, edit the docker compose configuration to your liking and docker compose up.