Sha256: b14db53c691aed34d423ff72f38dd7cf6db559b13f2a268e04fd9e098542396d

Contents?: true

Size: 333 Bytes

Versions: 14

Compression:

Stored size: 333 Bytes

Contents

# typed: strict

module Kuby
  module Docker
    class YarnPhase < Layer
      extend T::Sig

      sig { params(dockerfile: Dockerfile).void }
      def apply_to(dockerfile)
        dockerfile.copy('package.json', '.')
        dockerfile.copy('yarn.lock*', '.')
        dockerfile.run('yarn', 'install')
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
kuby-core-0.11.14 lib/kuby/docker/yarn_phase.rb
kuby-core-0.11.13 lib/kuby/docker/yarn_phase.rb
kuby-core-0.11.12 lib/kuby/docker/yarn_phase.rb
kuby-core-0.11.11 lib/kuby/docker/yarn_phase.rb
kuby-core-0.11.10 lib/kuby/docker/yarn_phase.rb
kuby-core-0.11.9 lib/kuby/docker/yarn_phase.rb
kuby-core-0.11.8 lib/kuby/docker/yarn_phase.rb
kuby-core-0.11.7 lib/kuby/docker/yarn_phase.rb
kuby-core-0.11.6 lib/kuby/docker/yarn_phase.rb
kuby-core-0.11.4 lib/kuby/docker/yarn_phase.rb
kuby-core-0.11.3 lib/kuby/docker/yarn_phase.rb
kuby-core-0.11.2 lib/kuby/docker/yarn_phase.rb
kuby-core-0.11.1 lib/kuby/docker/yarn_phase.rb
kuby-core-0.11.0 lib/kuby/docker/yarn_phase.rb