未验证 提交 f53b1270 编写于 作者: T tscuite 提交者: GitHub

优化dockerfile:更改node版本为16,同时npm更换为yarn

优化dockerfile:更改node版本为16,同时npm更换为yarn
上级 ee3ae0da
FROM node:12.16.1
FROM node:16
WORKDIR /gva_web/
COPY . .
RUN npm install
RUN npm run build
RUN yarn && yarn build
FROM nginx:alpine
LABEL MAINTAINER="SliverHorn@sliver_horn@qq.com"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册