fix: 🐛 修正构建包安装顺序 #14
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user