Sha256: 49a7e5963e3b3ae0485458d799b953bbc327ad0c46644aae33c788ac31bbae99

Contents?: true

Size: 366 Bytes

Versions: 47

Compression:

Stored size: 366 Bytes

Contents

# frozen_string_literal: true

module RailsAppGenerator
  # Custom add-ons for RailsAppGenerator
  module AddOns
    # Add Docker to rails application
    class Docker < RailsAppGenerator::Addon
      # Requires Testing
      def apply
        template 'Dockerfile.erb', 'Dockerfile'
        template '.dockerignore.erb', '.dockerignore'
      end
    end
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
rails_app_generator-0.3.6 lib/rails_app_generator/addons/docker.rb
rails_app_generator-0.3.5 lib/rails_app_generator/addons/docker.rb
rails_app_generator-0.3.4 lib/rails_app_generator/addons/docker.rb
rails_app_generator-0.3.3 lib/rails_app_generator/addons/docker.rb
rails_app_generator-0.3.2 lib/rails_app_generator/addons/docker.rb
rails_app_generator-0.3.1 lib/rails_app_generator/addons/docker.rb
rails_app_generator-0.3.0 lib/rails_app_generator/addons/docker.rb
rails_app_generator-0.2.43 lib/rails_app_generator/addons/docker.rb
rails_app_generator-0.2.42 lib/rails_app_generator/addons/docker.rb
rails_app_generator-0.2.41 lib/rails_app_generator/addons/docker.rb
rails_app_generator-0.2.40 lib/rails_app_generator/addons/docker.rb
rails_app_generator-0.2.39 lib/rails_app_generator/addons/docker.rb
rails_app_generator-0.2.38 lib/rails_app_generator/addons/docker.rb
rails_app_generator-0.2.37 lib/rails_app_generator/addons/docker.rb
rails_app_generator-0.2.36 lib/rails_app_generator/addons/docker.rb
rails_app_generator-0.2.35 lib/rails_app_generator/addons/docker.rb
rails_app_generator-0.2.34 lib/rails_app_generator/addons/docker.rb
rails_app_generator-0.2.33 lib/rails_app_generator/addons/docker.rb
rails_app_generator-0.2.32 lib/rails_app_generator/addons/docker.rb
rails_app_generator-0.2.31 lib/rails_app_generator/addons/docker.rb