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

This commit is contained in:
root 2024-08-17 22:54:42 +08:00
parent 33f3b03cfa
commit e34c48ea7b
1 changed files with 2 additions and 1 deletions

View File

@ -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"