Dockerfile 311 B

12345678910111213
  1. FROM node:10
  2. WORKDIR /opt/genieacs
  3. RUN cd /opt; \
  4. git clone https://github.com/genieacs/genieacs.git; \
  5. cd genieacs; \
  6. git checkout $(git tag -l v1.1.* --sort=-v:refname | head -n 1) ; \
  7. npm install; \
  8. npm run compile; \
  9. rm -rf /var/lib/apt/lists/*
  10. COPY config.json config/config.json