更新 web/Dockerfile
Docker Deploy / build-and-deploy (push) Failing after 59m2s
Details
Docker Deploy / build-and-deploy (push) Failing after 59m2s
Details
This commit is contained in:
parent
33f3b03cfa
commit
e34c48ea7b
|
@ -5,7 +5,8 @@ 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 install && npm run build
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:alpine
|
||||
LABEL MAINTAINER="SliverHorn@sliver_horn@qq.com"
|
||||
|
|
Loading…
Reference in New Issue