|
@@ -17,6 +17,14 @@ RUN ln -sf /run/syncthing/supervisord.log /var/log/supervisor/supervisord.log
|
|
#RUN ln -sf /run/pm2 /root/.pm2
|
|
#RUN ln -sf /run/pm2 /root/.pm2
|
|
#RUN npm install pm2 -g
|
|
#RUN npm install pm2 -g
|
|
|
|
|
|
|
|
+#RUN git clone ssh://git@git.tum.dk:29419/tum.dk/servera.git
|
|
|
|
+
|
|
|
|
+RUN curl https://138.68.80.211/tum.dk/serveras/archive/v0.0.9.zip -k -H "host: git.tum.dk" > /app/code/server.zip
|
|
|
|
+RUN unzip -o -d /app/code/ /app/code/server.zip
|
|
|
|
+RUN rm /app/code/server.zip
|
|
|
|
+
|
|
|
|
+##WORKDIR /app/code/servera
|
|
|
|
+##RUN npm install
|
|
|
|
|
|
ADD nginx.conf /app/code/nginx.conf
|
|
ADD nginx.conf /app/code/nginx.conf
|
|
ADD start.sh /app/code/start.sh
|
|
ADD start.sh /app/code/start.sh
|