From d9667211a4a01949eba2736a4e3480f0f4bbd861 Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Fri, 17 Feb 2017 06:32:52 +0100 Subject: [PATCH] Modified the Dockerfile to allow usage of custom parameters and arguments and to stop using `--help` all the time. --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5651032..f656bfd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,4 @@ RUN apt-get update -y && apt-get install -y curl && \ curl -L "https://github.com/Yelp/dumb-init/releases/download/v1.1.3/dumb-init_1.1.3_amd64" -o /bin/dumb-init && \ curl -L $JAR_DOWNLOAD_URL -o telegram_backup.jar && mkdir /data/ && chmod +x /bin/dumb-init -ENTRYPOINT ["/bin/dumb-init", "--"] - -CMD ["java", "-jar", "telegram_backup.jar", "--target", "/data/", "--help"] +ENTRYPOINT ["/bin/dumb-init", "--", "java", "-jar", "telegram_backup.jar", "--target", "/data/"]