version: '2' services: web: image: vulhub/ruby:2.4.1 command: ruby web.rb -p 8080 -o 0.0.0.0 working_dir: /usr/src volumes: - ./web.rb:/usr/src/web.rb ports: - "8080:8080"