FROM node:10 WORKDIR /opt/genieacs 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 run compile; \ rm -rf /var/lib/apt/lists/* COPY config.json config/config.json