diff --git a/web/Dockerfile b/web/Dockerfile index 16b3987a..0d0052eb 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -2,9 +2,9 @@ FROM node:alpine WORKDIR /gva_web/ COPY . . - RUN npm config set registry https://registry.npm.taobao.org -RUN npm i +RUN npm install -g cnpm +RUN cnpm i RUN npm run build FROM nginx:alpine