diff options
Diffstat (limited to 'dcae-analytics/dcae-analytics-tca-web/Dockerfile')
-rw-r--r-- | dcae-analytics/dcae-analytics-tca-web/Dockerfile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/dcae-analytics/dcae-analytics-tca-web/Dockerfile b/dcae-analytics/dcae-analytics-tca-web/Dockerfile index 83136ad..19afab7 100644 --- a/dcae-analytics/dcae-analytics-tca-web/Dockerfile +++ b/dcae-analytics/dcae-analytics-tca-web/Dockerfile @@ -1,15 +1,20 @@ # 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> + +VOLUME /tmp +ADD docker/logback.xml logback.xml +ADD target/dcae-analytics-tca-web-3.0.0-SNAPSHOT.jar dcae-analytics-tca-web.jar +EXPOSE 9091 + ENTRYPOINT ["java", \ "-Djava.security.egd=file:/dev/./urandom", \ "-Dlogging.config=logback.xml", \ "-Dlogging.file=logs/dcae-analytics-tca-web.log", \ "-Dspring.profiles.active=dev", \ "-jar", "dcae-analytics-tca-web.jar"] -EXPOSE 9091 -VOLUME /tmp -ADD docker/logback.xml logback.xml -ADD target/dcae-analytics-tca-web-3.0.0-SNAPSHOT.jar dcae-analytics-tca-web.jar |