From 70c621b6b08ca57460f2424b631e872786ae7c10 Mon Sep 17 00:00:00 2001 From: Ben Firshman Date: Mon, 10 Jun 2019 15:17:27 +0100 Subject: [PATCH] Make Docker workdir /data This is where the data ends up when you run the command in the readme. This feels very fragile though -- it really needs to scripts to build this data. --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6f92f778..0b6dbe98 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,8 +39,6 @@ RUN unzip -o ./lookup-service.zip -d ./lookup && \ RUN rm *.zip -WORKDIR /app/lookup/lookup-service - ENV JAVA_OPTS=-Xmx4g -CMD java -jar lib/lookup-service-1.0-SNAPSHOT-onejar.jar server data/config/config.yml +CMD java -jar /app/lookup/lookup-service/lib/lookup-service-1.0-SNAPSHOT-onejar.jar server lookup/lookup-service/data/config/config.yml