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

enhance(docker): add NODE_ENV to onbuild image (#147)

上级 c2fc5e87
......@@ -2,6 +2,9 @@ FROM zixia/wechaty
WORKDIR /bot/
ONBUILD ARG NODE_ENV
ONBUILD ENV NODE_ENV $NODE_ENV
ONBUILD COPY package.json /bot/
ONBUILD RUN npm install && npm cache clean
ONBUILD COPY . /bot/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册