Sha256: c0a404318d721f99c77ba372b0e2d064eb355e4de66f573744d97bdca4d991e0

Contents?: true

Size: 245 Bytes

Versions: 5

Compression:

Stored size: 245 Bytes

Contents

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kuby-core-0.5.0 lib/kuby/docker/yarn_phase.rb
kuby-core-0.4.0 lib/kuby/docker/yarn_phase.rb
kuby-core-0.3.0 lib/kuby/docker/yarn_phase.rb
kuby-core-0.2.0 lib/kuby/docker/yarn_phase.rb
kuby-core-0.1.0 lib/kuby/docker/yarn_phase.rb