summaryrefslogtreecommitdiffstats
path: root/dcae-analytics/dcae-analytics-tca-web/Dockerfile
diff options
context:
space:
mode:
authorvagrant <vv770d@att.com>2018-09-27 02:10:48 +0000
committervagrant <vv770d@att.com>2018-09-27 02:10:57 +0000
commitb62fdb336a06d33b0dbf53a4f58b7880b4741ed4 (patch)
tree7394c9a8dd1f01f27370fa7a472f0c1e9b51a0c9 /dcae-analytics/dcae-analytics-tca-web/Dockerfile
parenteaf55a773a370104c9b8eb30b9a38fbc00be87f9 (diff)
update docker mvn config
Change-Id: I0de1124434f975715ca16819e2415aa38daa1df2 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-772
Diffstat (limited to 'dcae-analytics/dcae-analytics-tca-web/Dockerfile')
-rw-r--r--dcae-analytics/dcae-analytics-tca-web/Dockerfile7
1 files changed, 3 insertions, 4 deletions
diff --git a/dcae-analytics/dcae-analytics-tca-web/Dockerfile b/dcae-analytics/dcae-analytics-tca-web/Dockerfile
index 19afab7..0e2a6e8 100644
--- a/dcae-analytics/dcae-analytics-tca-web/Dockerfile
+++ b/dcae-analytics/dcae-analytics-tca-web/Dockerfile
@@ -8,13 +8,12 @@ FROM openjdk:8-jre-alpine
MAINTAINER Rajiv Singla <rs153v@att.com>
VOLUME /tmp
-ADD docker/logback.xml logback.xml
-ADD target/dcae-analytics-tca-web-3.0.0-SNAPSHOT.jar dcae-analytics-tca-web.jar
+ADD logback.xml logback.xml
EXPOSE 9091
ENTRYPOINT ["java", \
"-Djava.security.egd=file:/dev/./urandom", \
"-Dlogging.config=logback.xml", \
- "-Dlogging.file=logs/dcae-analytics-tca-web.log", \
+ "-Dlogging.file=logs/${project.artifactId}.log", \
"-Dspring.profiles.active=dev", \
- "-jar", "dcae-analytics-tca-web.jar"]
+ "-jar", "${project.build.finalName}.jar"]