diff --git a/web/Dockerfile b/web/Dockerfile index 7c02b056..f8c41e09 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -3,8 +3,7 @@ FROM node:alpine WORKDIR /gva_web/ COPY . . RUN npm config set registry https://registry.npm.taobao.org -RUN npm install -g pnpm -RUN pnpm i +RUN npm i RUN npm run build FROM nginx:alpine