From 845009f753f80e3aa2d3ffcc0dea08f89292fa67 Mon Sep 17 00:00:00 2001 From: xubiaolin Date: Sun, 12 Nov 2023 16:15:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E4=BD=BF=E7=94=A8host=E7=BD=91?= =?UTF-8?q?=E7=BB=9C=E7=BC=96=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 132c0fb..c69dca0 100755 --- a/deploy.sh +++ b/deploy.sh @@ -54,7 +54,7 @@ function install() { echo "打包镜像" echo "使用的端口为:${port}" - docker build --no-cache --build-arg ZT_PORT=$port --network host -t $imageName . + docker build --no-cache --build-arg ZT_PORT=$port -t $imageName . if [ $? -ne 0 ]; then echo "镜像打包失败,请重试" echo "国内机器打包容易失败,请多试几次"