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

Method build

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

Source from the content-addressed store, hash-verified

393 )
394
395 def build(self) -> int:
396 return self.run_cmd('docker', 'build', '-t', self.image(), '-f',
397 'Dockerfile', '.')
398
399 def push(self):
400 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