From 4914b9f2c89a36942d1799c9fa745e7a6b5ebaf2 Mon Sep 17 00:00:00 2001 From: ywp Date: Wed, 22 Oct 2025 15:50:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3b6a947..a5bb780 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /app # 安装顶层依赖(如果有前端构建) COPY package*.json ./ RUN npm ci -RUN npm build +RUN npm run build # 拷贝前端、后端、静态资源 COPY dist/ ./dist COPY public/ ./public