更新 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
6b8d0f65f5
commit
afc30bf454
|
@ -3,8 +3,8 @@ 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 cnpm
|
RUN npm install -g pnpm
|
||||||
RUN cnpm i
|
RUN pnpm i
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
|
|
Loading…
Reference in New Issue