ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
require "bundler/setup" # Set up gems listed in the Gemfile.
-require "bootsnap/setup" if ENV.fetch("ENABLE_BOOTSNAP", "true") == "true" # Speed up boot time by caching expensive operations.
+require "bootsnap/setup" # Speed up boot time by caching expensive operations.
- web-images:/home/osm/images
ports:
- "3000:3000"
- environment:
- # https://github.com/Shopify/bootsnap/issues/262
- ENABLE_BOOTSNAP: 'false'
command: bundle exec rails s -p 3000 -b '0.0.0.0'
depends_on:
- db