Sha256: f5966a5736e2d3e081926d1ab0604eba7342d9f62c407fd50f7a3af10432445d

Contents?: true

Size: 469 Bytes

Versions: 4

Compression:

Stored size: 469 Bytes

Contents

require "sct/docker/docker"

module Sct
    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(self.convertPath(self.getTrueHomePath()+"/.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.7 lib/sct/docker/yarn.rb
sct-0.1.6 lib/sct/docker/yarn.rb
sct-0.1.5 lib/sct/docker/yarn.rb
sct-0.1.4 lib/sct/docker/yarn.rb