Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/modelscope/modelscope
/ build
Method
build
docker/build_image.py:325–327 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
323
)
324
325
def
build(self) -> int:
326
return
self.run_cmd(
'docker'
,
'build'
,
'-t'
, self.image(),
'-f'
,
327
'Dockerfile'
,
'.'
)
328
329
def
push(self):
330
ret = self.run_cmd(
'docker'
,
'push'
, self.image())
Callers
nothing calls this directly
Calls
2
image
Method · 0.95
run_cmd
Method · 0.80
Tested by
no test coverage detected