更新 web/Dockerfile
Docker Deploy / build-and-deploy (push) Failing after 1m28s
Details
Docker Deploy / build-and-deploy (push) Failing after 1m28s
Details
This commit is contained in:
parent
159974d00d
commit
aab5f1ca5d
|
@ -1,9 +1,9 @@
|
|||
FROM alpine:latest
|
||||
FROM node:16
|
||||
|
||||
WORKDIR /gva_web/
|
||||
COPY . .
|
||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||
RUN apk add npm
|
||||
#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://mirrors.huaweicloud.com/repository/npm/
|
||||
RUN npm i cnpm -g
|
||||
RUN cnpm install
|
||||
|
|
Loading…
Reference in New Issue