소스 검색

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