尝试简单修复一下Docker (#299)

This commit is contained in:
MR 2018-06-14 19:19:11 +08:00 committed by DIYgod
parent 9df218379c
commit c9f8d37bdf
1 changed files with 2 additions and 0 deletions

View File

@ -12,3 +12,5 @@ ARG USE_CHINA_NPM_REGISTRY=0
RUN if [ "$USE_CHINA_NPM_REGISTRY" = 1 ]; then echo 'use npm mirror'; npm install --production --vb --registry=https://registry.npm.taobao.org; else npm install --production; fi;
ADD . .
CMD node index.js