浏览代码

Added npm and curl to Dockerfile, because Docker build failed.

Thanks to xet7 !
Lauri Ojansivu 4 年之前
父节点
当前提交
fb771d46dd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -17,7 +17,7 @@ RUN sed -i 's/api\.versionsFrom/\/\/api.versionsFrom/' /usr/src/app/packages/met
 WORKDIR /usr/src/app
 
 # Install our NPM packages
-RUN npm install
+RUN apt -y install npm curl && npm -g install npm && npm install
 
 # Install Meteor
 RUN curl "https://install.meteor.com/" | sh