Merge pull request 'fix: 🐛 修正构建包安装顺序' (#14) from cicd into develop
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: #14
This commit is contained in:
施海荣 2022-02-23 13:23:22 +08:00
commit 7c6d7b63e3

View File

@ -1,7 +1,7 @@
FROM node:12 AS builder FROM node:12 AS builder
WORKDIR /app WORKDIR /app
ADD package.json /app/ ADD package.json /app/
RUN npm config set registry https://registry.npmmirror.com && npm install RUN npm config set registry https://registry.npmmirror.com && npm install git+https://gitee.com/shihairong/raphael && npm install
ADD . /app ADD . /app
RUN npm run build:prod RUN npm run build:prod