更新 web/Dockerfile
Docker Deploy / build-and-deploy (push) Failing after 12m17s Details

This commit is contained in:
root 2024-08-18 08:25:51 +08:00
parent e34c48ea7b
commit 47a251e92d
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ WORKDIR /gva_web/
COPY . .
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
RUN apk add npm
RUN npm config set registry https://npm.aliyun.com
RUN npm config set registry https://mirrors.huaweicloud.com/repository/npm/
RUN npm install
RUN npm run build