summaryrefslogtreecommitdiffstats
path: root/dcae-analytics/dcae-analytics-tca-web/docker/Dockerfile
blob: fcbc5ac7abea59fb2952d16643b3e86f4fa34bef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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