Added auto-stop feature

This commit is contained in:
butomo1989
2018-05-30 00:54:06 +02:00
parent b5f8c28fc1
commit 705be0e3c9
4 changed files with 62 additions and 7 deletions
+3 -1
View File
@@ -115,5 +115,7 @@ EXPOSE 4723 6080 5555
COPY src /root/src
COPY supervisord.conf /root/
RUN chmod -R +x /root/src && chmod +x /root/supervisord.conf
COPY genymotion/geny_start.sh /root
RUN chmod +x /root/geny_start.sh
CMD /usr/bin/supervisord --configuration supervisord.conf
CMD ["./geny_start.sh"]