From c0dfb4a4181e93a80b11b2ff695ff40146bf6c20 Mon Sep 17 00:00:00 2001 From: ZhenYi <434836402@qq.com> Date: Wed, 15 Apr 2026 00:14:31 +0800 Subject: [PATCH] fix(build.js): use docker build instead of buildx --- scripts/build.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/build.js b/scripts/build.js index e003fad..8d1814c 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -46,11 +46,10 @@ for (const service of targets) { try { execSync( - `docker buildx build ` + + `docker build ` + `--build-arg BUILD_TARGET=${BUILD_TARGET} ` + `-f "${dockerfile}" ` + `-t "${image}" ` + - `--load ` + `--progress=plain ` + `.`, { stdio: 'inherit', cwd: path.join(__dirname, '..') }