From 96a3f925d23ebe0778551bf22b97f59634399279 Mon Sep 17 00:00:00 2001 From: PlusMinus Date: Fri, 28 Aug 2015 15:41:32 +0200 Subject: [PATCH] Modified the Dockerfile to execute the new script instead. --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3ce0ba8..5224f8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,5 +10,9 @@ RUN \ java -Djava.awt.headless=true -jar /opt/JDownloader/JDownloader.jar +ADD start.sh /opt/JDownloader/ +RUN chmod +x /opt/JDownloader/start.sh + + # Run this when the container is started -CMD java -Djava.awt.headless=true -jar /opt/JDownloader/JDownloader.jar +CMD /opt/JDownloader/startJD2.sh