version: '3.4' services: app: image: ruby:2.5.1 environment: - BUNDLE_PATH=/bundle - BUNDLE_CONFIG=/app/.bundle/config command: bash working_dir: /app volumes: - .:/app:cached - bundler_data:/bundle tmpfs: - /tmp volumes: bundler_data: