diff --git a/build-and-run.sh b/build-and-run.sh index b411b07..a43db4c 100755 --- a/build-and-run.sh +++ b/build-and-run.sh @@ -36,7 +36,7 @@ fi # 4. 构建镜像 echo "🔧 开始构建镜像:$IMAGE_NAME" if [ -n "$PROXY" ]; then - docker build \ + docker build --no-cache \ --build-arg http_proxy="$PROXY" \ --build-arg https_proxy="$PROXY" \ --network=host \