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

remove TS_NODE_COMPILER_OPTIONS, instead, link tsconfig.json to /

上级 673f701b
......@@ -35,10 +35,12 @@ RUN npm --progress false link
# Loading from node_modules Folders: https://nodejs.org/api/modules.html
# If it is not found there, then it moves to the parent directory, and so on, until the root of the file system is reached.
RUN mkdir /app && ln -s /usr/local/lib/node_modules /
RUN mkdir /app \
&& ln -s /usr/local/lib/node_modules / \
&& ln -s /wechaty/tsconfig.json /
VOLUME [ "/app" ]
ENV TS_NODE_COMPILER_OPTIONS '{"target":"es6"}'
ENTRYPOINT [ "/wechaty/bin/entrypoint.sh" ]
CMD [ "start" ]
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册