From 38a6c9f8467eb7489b2f4ddd1c89aaa55fed4d38 Mon Sep 17 00:00:00 2001 From: sidda-at-kaazing Date: Fri, 9 Mar 2018 12:14:36 -0800 Subject: [PATCH] Rebuild each time --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d2b92eb..f530755 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,9 +10,10 @@ WORKDIR $WORKDIR # Build kafka-streams RUN mkdir -p config RUN mkdir -p data -COPY target/kafka-load-generator-0.0.1-SNAPSHOT-jar-with-dependencies.jar $WORKDIR COPY config/* $WORKDIR/config/ COPY data/* $WORKDIR/data/ +COPY . $WORKDIR +RUN mvn clean install -DskipTests ENTRYPOINT java -Dconfig=./config -jar kafka-load-generator-0.0.1-SNAPSHOT-jar-with-dependencies.jar ./config/kafkaclient.properties