shell/lib/shell/docker/yarn.rb in sct-0.1.22 vs shell/lib/shell/docker/yarn.rb in sct-0.1.23
- old
+ new
@@ -4,14 +4,14 @@
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()
+ 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