From afc30bf4540a496cda3bb4bbaad2f15ea33eaf12 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 17 Aug 2024 22:07:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20web/Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/Dockerfile b/web/Dockerfile index 0d0052eb..7c02b056 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -3,8 +3,8 @@ FROM node:alpine WORKDIR /gva_web/ COPY . . RUN npm config set registry https://registry.npm.taobao.org -RUN npm install -g cnpm -RUN cnpm i +RUN npm install -g pnpm +RUN pnpm i RUN npm run build FROM nginx:alpine