From 8d993c72c840933eeb36720926a53b5777736a25 Mon Sep 17 00:00:00 2001 From: Huan LI Date: Fri, 3 Nov 2017 11:47:36 +0800 Subject: [PATCH] install all npm cli inside wechaty to global --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 75ab3973..bc941263 100644 --- a/Dockerfile +++ b/Dockerfile @@ -72,6 +72,7 @@ RUN npm run dist RUN sudo npm link \ && sudo ln -s /wechaty /node_modules/wechaty \ && sudo ln -s /wechaty/node_modules/* /node_modules/ \ + && sudo ln -s /wechaty/node_modules/.bin/* /usr/local/bin/ \ && sudo ln -s /wechaty/tsconfig.json / \ && echo "export * from 'wechaty'" | sudo tee /index.ts \ && echo 'Linked wechaty to global' -- GitLab