mirror of
https://github.com/modelscope/modelscope.git
synced 2026-02-24 04:01:10 +01:00
tmp for network
This commit is contained in:
@@ -135,7 +135,7 @@ class BaseGPUImageBuilder(Builder):
|
||||
|
||||
def build(self) -> int:
|
||||
return os.system(
|
||||
f'DOCKER_BUILDKIT=0 docker build -t {self.image()} -f Dockerfile .'
|
||||
f'DOCKER_BUILDKIT=0 docker build --network=host -t {self.image()} -f Dockerfile .'
|
||||
)
|
||||
|
||||
def push(self):
|
||||
|
||||
Reference in New Issue
Block a user