Browse Source

Dockerfile updated

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

+ 2 - 2
genieacs-base/Dockerfile

@@ -1,4 +1,4 @@
-FROM node:10
+FROM node:12
 
 COPY config.json config/config.json
 
@@ -8,6 +8,6 @@ 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; \
+    npm install  --build-from-resource; \
     npm run compile; \
     rm -rf /var/lib/apt/lists/*