提交 0c2dff3d 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

use puppet-install for docker build

上级 31f765d2
......@@ -55,11 +55,7 @@ WORKDIR /wechaty
COPY package.json .
RUN npm install \
&& npm install \
wechaty-puppet-ioscat \
wechaty-puppet-puppeteer \
wechaty-puppet-padchat \
wechaty-puppet-wechat4u \
&& npm run puppet-install \
&& sudo rm -fr /tmp/* ~/.npm
COPY . .
......
......@@ -25,6 +25,7 @@
"lint:md": "markdownlint README.md",
"lint:ts": "tslint --project tsconfig.json && tsc --noEmit",
"lint:sh": "bash -n bin/*.sh",
"puppet-install": "ts-node bin/puppet-install.ts",
"sloc": "sloc bin examples scripts src tests --details --format cli-table --keys total,source,comment && sloc bin examples scripts src tests",
"ts-node": "ts-node",
"test": "npm run lint && npm run test:unit && npm run test:shell && npm run sloc",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册