|
@@ -5,9 +5,9 @@ COPY config.json config/config.json
|
|
WORKDIR /opt/genieacs
|
|
WORKDIR /opt/genieacs
|
|
|
|
|
|
RUN cd /opt; \
|
|
RUN cd /opt; \
|
|
- git clone https://github.com/zaidka/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) ; \
|
|
npm install; \
|
|
npm install; \
|
|
- npm run configure; \
|
|
|
|
npm run compile; \
|
|
npm run compile; \
|
|
rm -rf /var/lib/apt/lists/*
|
|
rm -rf /var/lib/apt/lists/*
|