Browse Source

修改dockerfile

yangc 7 years ago
parent
commit
021c56edcb
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Dockerfile

+ 2 - 0
Dockerfile

@@ -8,6 +8,8 @@ RUN chmod +x run.sh
 
 RUN npm install -g node-gyp
 RUN npm install -g yarn
+RUN npm install -g n
+RUN n 8.10.0
 RUN yarn
 
 CMD [ "/app/run.sh" ]