更新 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
8c37872628
commit
a8a6c03794
|
@ -2,8 +2,7 @@ FROM node:16
|
||||||
|
|
||||||
WORKDIR /gva_web/
|
WORKDIR /gva_web/
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm i -g cnpm --registry=https://registry.npm.taobao.org
|
RUN npm i && npm run build
|
||||||
RUN cnpm i && npm run build
|
|
||||||
|
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
LABEL MAINTAINER="SliverHorn@sliver_horn@qq.com"
|
LABEL MAINTAINER="SliverHorn@sliver_horn@qq.com"
|
||||||
|
|
Loading…
Reference in New Issue