diff --git a/Dockerfile b/Dockerfile index edc32802acccf167f35325c94ab2328351bb48dd..c875dc8405a1038176200333d62c61b60d98cc42 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,5 +36,8 @@ RUN npm --progress false link RUN mkdir /app VOLUME [ "/app" ] +ENV TS_NODE_COMPILER_OPTIONS '{"target":"es6"}' +ENV NODE_PATH /usr/local/lib/node_modules + ENTRYPOINT [ "/wechaty/bin/entrypoint.sh" ] CMD [ "start" ]