From a10f59be452b5ea6a78cf38554221185a2642c32 Mon Sep 17 00:00:00 2001 From: Kerem Sahin Date: Tue, 3 Sep 2019 03:01:21 -0700 Subject: [PATCH] Fix docker build for datahub-frontend by adding command line arguments to run command --- docker/frontend/Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docker/frontend/Dockerfile b/docker/frontend/Dockerfile index 8efc1add37..caa5dc47ec 100644 --- a/docker/frontend/Dockerfile +++ b/docker/frontend/Dockerfile @@ -18,4 +18,9 @@ RUN wget https://github.com/vishnubob/wait-for-it/blob/master/wait-for-it.sh EXPOSE 9001 CMD ["./wait-for-it.sh", "$DATAHUB_GMS_HOST:$DATAHUB_GMS_PORT"] -CMD ["datahub-frontend/bin/playBinary"] \ No newline at end of file + +CMD ["datahub-frontend/bin/playBinary", "-Xms512m", "-Xmx1024m", "-Dhttp.port=9001", \ + "-Dconfig.file=datahub-frontend/conf/application.conf", \ + "-Djava.security.auth.login.config=datahub-frontend/conf/jaas.conf", \ + "-Dlogback.configurationFile=datahub-frontend/conf/logback.xml", \ + "-Dlogback.debug=true"] \ No newline at end of file