summaryrefslogtreecommitdiffstats
path: root/dcae-analytics/dcae-analytics-tca-web/Dockerfile
blob: 19afab7da9162d138895985506bd06d8abcec290 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"]