From 5fd4a475f112f91c1f42fcfcebd3a09fbb2d166a Mon Sep 17 00:00:00 2001 From: rschoene <rene.schoene@tu-dresden.de> Date: Thu, 17 Jun 2021 14:26:07 +0200 Subject: [PATCH] Allow config file to be passed using volume "/config.coordinator" --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 98ca407..167dc5f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,4 +21,5 @@ WORKDIR /coordinator RUN ./gradlew --no-daemon installDist -ENTRYPOINT /bin/bash -c "./build/install/coordinator/bin/coordinator" +ENV CONFIG_FILE /config.coordinator +ENTRYPOINT /bin/bash -c "./build/install/coordinator/bin/coordinator $CONFIG_FILE" -- GitLab