MCPcopy Create free account
hub / github.com/modelscope/modelscope / build

Method build

docker/build_image.py:154–157  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

152 )
153
154 def build(self):
155 return self.run_cmd('docker', 'build',
156 '--build-arg', 'DOCKER_BUILDKIT=0', '-t',
157 self.image(), '-f', 'Dockerfile', '.')
158
159 def push(self):
160 ret = self.run_cmd('docker', 'push', self.image())

Callers

nothing calls this directly

Calls 2

imageMethod · 0.95
run_cmdMethod · 0.80

Tested by

no test coverage detected