Browse Source

Dockerfile updated

Espinoza Guillermo 6 years ago
parent
commit
f908620ea8
1 changed files with 4 additions and 4 deletions
  1. 4 4
      genieacs-base/Dockerfile

+ 4 - 4
genieacs-base/Dockerfile

@@ -8,9 +8,9 @@ RUN cd /opt; \
     git clone https://github.com/genieacs/genieacs.git; \
     cd genieacs; \
     git checkout $(git tag -l v1.1.* --sort=-v:refname | head -n 1) ; \
-    npm install -g libxmljs ; \
-    npm install -g node-gyp ; \
-    npm install -g nodejs-legacy ; \
-    npm install --build-from-resource --unsafe-perm; \
+    npm install -g --unsafe-perm=true libxmljs ; \
+    npm install -g --unsafe-perm=true node-gyp ; \
+    npm install -g --unsafe-perm=true nodejs-legacy ; \
+    npm install --build-from-resource --unsafe-perm=true; \
     npm run compile; \
     rm -rf /var/lib/apt/lists/*