更新 web/Dockerfile
Docker Deploy / build-and-deploy (push) Failing after 12m17s
Details
Docker Deploy / build-and-deploy (push) Failing after 12m17s
Details
This commit is contained in:
parent
e34c48ea7b
commit
47a251e92d
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue