Skip to content

Commit

Permalink
尝试简单修复一下Docker (DIYgod#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-cn authored and DIYgod committed Jun 14, 2018
1 parent 9df2183 commit c9f8d37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c9f8d37

Please sign in to comment.