mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-16 08:17:45 +01:00
tmp for network
This commit is contained in:
@@ -246,7 +246,7 @@ RUN pip install tf-keras==2.16.0 --no-dependencies && \
|
||||
f'{self.args.modelscope_version}-test')
|
||||
|
||||
def build(self) -> int:
|
||||
return os.system(f'docker build -t {self.image()} -f Dockerfile .')
|
||||
return os.system(f'docker build --network=host -t {self.image()} -f Dockerfile .')
|
||||
|
||||
def push(self):
|
||||
ret = os.system(f'docker push {self.image()}')
|
||||
|
||||
Reference in New Issue
Block a user