Przeglądaj źródła

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

Thanks to xet7 !
Lauri Ojansivu 4 lat temu
rodzic
commit
fb771d46dd
1 zmienionych plików z 1 dodań i 1 usunięć
  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
 WORKDIR /usr/src/app
 
 
 # Install our NPM packages
 # Install our NPM packages
-RUN npm install
+RUN apt -y install npm curl && npm -g install npm && npm install
 
 
 # Install Meteor
 # Install Meteor
 RUN curl "https://install.meteor.com/" | sh
 RUN curl "https://install.meteor.com/" | sh