Sha256: 353ba61bc26db4aa4358ed9125f6cab27163aed7c1d24f0b4aa3340c5ed03a21

Contents?: true

Size: 341 Bytes

Versions: 6

Compression:

Stored size: 341 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rails_app_generator-0.2.3 lib/rails_app_generator/addons/docker.rb
rails_app_generator-0.2.2 lib/rails_app_generator/addons/docker.rb
rails_app_generator-0.2.1 lib/rails_app_generator/addons/docker.rb
rails_app_generator-0.2.0 lib/rails_app_generator/addons/docker.rb
rails_app_generator-0.1.28 lib/rails_app_generator/addons/docker.rb
rails_app_generator-0.1.27 lib/rails_app_generator/addons/docker.rb