2 Commits

Author SHA1 Message Date
bb4f3e2c0e fix: 🐛 修正构建包安装顺序 2022-02-23 13:22:42 +08:00
0338bf1a15 fix: 🏗️ 修复raphael依赖找不到问题 2022-02-23 12:46:46 +08:00
2 changed files with 2 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
FROM node:12 AS builder
WORKDIR /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
RUN npm run build:prod

View File

@@ -66,6 +66,7 @@
"nprogress": "0.2.0",
"outlayer": "^2.1.1",
"path-to-regexp": "2.4.0",
"raphael": "git+https://gitee.com/shihairong/raphael",
"screenfull": "4.2.0",
"script-loader": "0.7.2",
"showdown": "1.9.0",