|
@@ -1,4 +1,4 @@
|
|
-FROM node:12
|
|
|
|
|
|
+FROM node:10
|
|
|
|
|
|
COPY config.json config/config.json
|
|
COPY config.json config/config.json
|
|
|
|
|
|
@@ -8,9 +8,6 @@ RUN cd /opt; \
|
|
git clone https://github.com/genieacs/genieacs.git; \
|
|
git clone https://github.com/genieacs/genieacs.git; \
|
|
cd genieacs; \
|
|
cd genieacs; \
|
|
git checkout $(git tag -l v1.1.* --sort=-v:refname | head -n 1) ; \
|
|
git checkout $(git tag -l v1.1.* --sort=-v:refname | head -n 1) ; \
|
|
- 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 install; \
|
|
npm run compile; \
|
|
npm run compile; \
|
|
rm -rf /var/lib/apt/lists/*
|
|
rm -rf /var/lib/apt/lists/*
|