更新 web/Dockerfile
Docker Deploy / build-and-deploy (push) Has been cancelled
Details
Docker Deploy / build-and-deploy (push) Has been cancelled
Details
This commit is contained in:
parent
a8a6c03794
commit
3aa85c50ca
|
@ -2,7 +2,8 @@ FROM node:16
|
|||
|
||||
WORKDIR /gva_web/
|
||||
COPY . .
|
||||
RUN npm i && npm run build
|
||||
|
||||
RUN npm config set registry https://registry.npm.taobao.org && npm i && npm run build
|
||||
|
||||
FROM nginx:alpine
|
||||
LABEL MAINTAINER="SliverHorn@sliver_horn@qq.com"
|
||||
|
|
Loading…
Reference in New Issue