version: '2' services: ruby: tty: true # Enables debugging capabilities when attached to this container. image: 'bitnami/ruby:2.7' # command: sh -c 'bundle install && bundle exec rails server -b 0.0.0.0 -p 3000' ports: - 3000:3000 volumes: - .:/app