Sha256: 3713c772d7f0d5bf0cd7764e3c99fb4a72b3a23c7ee0396457ba258294179bbb

Contents?: true

Size: 245 Bytes

Versions: 11

Compression:

Stored size: 245 Bytes

Contents

module Kuby
  module Docker
    class YarnPhase < Layer
      def apply_to(dockerfile)
        dockerfile.copy('package.json', '.')
        dockerfile.copy('yarn.lock*', '.')
        dockerfile.run('yarn', 'install')
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
kuby-core-0.10.1 lib/kuby/docker/yarn_phase.rb
kuby-core-0.10.0 lib/kuby/docker/yarn_phase.rb
kuby-core-0.9.1 lib/kuby/docker/yarn_phase.rb
kuby-core-0.9.0 lib/kuby/docker/yarn_phase.rb
kuby-core-0.8.1 lib/kuby/docker/yarn_phase.rb
kuby-core-0.8.0 lib/kuby/docker/yarn_phase.rb
kuby-core-0.7.2 lib/kuby/docker/yarn_phase.rb
kuby-core-0.7.1 lib/kuby/docker/yarn_phase.rb
kuby-core-0.7.0 lib/kuby/docker/yarn_phase.rb
kuby-core-0.6.1 lib/kuby/docker/yarn_phase.rb
kuby-core-0.6.0 lib/kuby/docker/yarn_phase.rb