diff options
author | 2018-08-15 11:46:10 -0400 | |
---|---|---|
committer | 2018-08-16 11:09:15 -0400 | |
commit | 7a2c23b3ad83eab0eed5b990c70a1603447d5ee5 (patch) | |
tree | 24293333fd3cc566c1d77f9c9eedeb034dce9c6c /dcae-analytics/dcae-analytics-tca-web/docker/Dockerfile | |
parent | 9650bd18f6b88721628ebedac2575b44e1b0028e (diff) |
Standalone TCA with EELF Logger
Issue-ID: DCAEGEN2-633
Change-Id: I4da76b532021c0d6248455e7bd6e77f4614c35a7
Signed-off-by: Singla, Rajiv (rs153v) <rs153v@att.com>
Diffstat (limited to 'dcae-analytics/dcae-analytics-tca-web/docker/Dockerfile')
-rw-r--r-- | dcae-analytics/dcae-analytics-tca-web/docker/Dockerfile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dcae-analytics/dcae-analytics-tca-web/docker/Dockerfile b/dcae-analytics/dcae-analytics-tca-web/docker/Dockerfile new file mode 100644 index 0000000..fcbc5ac --- /dev/null +++ b/dcae-analytics/dcae-analytics-tca-web/docker/Dockerfile @@ -0,0 +1,15 @@ +# NOTE: This Dockerfile is auto generated and filtered via maven resources plugin. +# Edits to generated Dockerfile will NOT be saved. +# Only changes made in docker/Dockerfile template file will be persistent +FROM openjdk:8-jre-alpine +MAINTAINER Rajiv Singla <rs153v@att.com> +ENTRYPOINT ["java", \ + "-Djava.security.egd=file:/dev/./urandom", \ + "-Dlogging.config=logback.xml", \ + "-Dlogging.file=logs/${project.artifactId}.log", \ + "-Dspring.profiles.active=dev", \ + "-jar", "${project.artifactId}.jar"] +EXPOSE 9091 +VOLUME /tmp +ADD docker/logback.xml logback.xml +ADD target/${project.build.finalName}.jar ${project.artifactId}.jar |