Sha256: 241e00d29c93738a89e72762e9af4208d65b252df303897e3f49f98e3d51089a

Contents?: true

Size: 550 Bytes

Versions: 4

Compression:

Stored size: 550 Bytes

Contents

require "sct_core"
require_relative "docker"

module Shell
    class Yarn < Docker

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sct-0.1.22 shell/lib/shell/docker/yarn.rb
sct-0.1.21 shell/lib/shell/docker/yarn.rb
sct-0.1.20 shell/lib/shell/docker/yarn.rb
sct-0.1.19 shell/lib/shell/docker/yarn.rb