diff --git a/Dockerfile b/Dockerfile index fa3a8d47..9d4b4f7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GOPROXY=https://goproxy.cn,direct go b FROM node:14.17.6 AS FRONT WORKDIR /web COPY ./web . -RUN yarn config set registry https://registry.npm.taobao.org +RUN yarn config set registry https://registry.npmmirror.com RUN yarn install && yarn run build FROM alpine:latest