Sha256: 815e7552f0039c738aeb5d00f163d5083bb182e920bb0fac1d31fec21738ecad

Contents?: true

Size: 561 Bytes

Versions: 6

Compression:

Stored size: 561 Bytes

Contents

require "sct_core"
require_relative "docker"

module Shell
    class Yarn < Docker

        # Configure the Yarn command
       def self.config
            self.set_image("eu.gcr.io/dev-pasc-vcdm/helpers-yarn:latest", true)
            self.set_pwd_as_volume("/app")
            self.add_volume(SctCore::Helper.convertWSLToWindowsPath("#{SctCore::Helper.windowsHomePath || SctCore::Helper.homePath}/.cache") , "/.cache")
            self.map_port(8081, 8080)
            self.map_port(9001)
            self.set_current_user_and_group()
        end
    end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sct-0.1.28 shell/lib/shell/docker/yarn.rb
sct-0.1.27 shell/lib/shell/docker/yarn.rb
sct-0.1.26 shell/lib/shell/docker/yarn.rb
sct-0.1.25 shell/lib/shell/docker/yarn.rb
sct-0.1.24 shell/lib/shell/docker/yarn.rb
sct-0.1.23 shell/lib/shell/docker/yarn.rb