更新 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
afc30bf454
commit
55af7466cc
|
@ -3,8 +3,7 @@ FROM node:alpine
|
||||||
WORKDIR /gva_web/
|
WORKDIR /gva_web/
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm config set registry https://registry.npm.taobao.org
|
RUN npm config set registry https://registry.npm.taobao.org
|
||||||
RUN npm install -g pnpm
|
RUN npm i
|
||||||
RUN pnpm i
|
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
|
|
Loading…
Reference in New Issue