summaryrefslogtreecommitdiffstats
path: root/javatoscachecker/service/src/main/docker/Dockerfile
blob: 2287b7d656704e96fa26f6dbdb6bedfa0d57b1bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM openjdk:8

MAINTAINER "sj2381@att.com"

ADD Service-1.0.0-SNAPSHOT.jar /opt/modeling/Service-1.0.0-SNAPSHOT.jar
ADD application.properties /opt/modeling/application.properties
VOLUME /etc
ADD startService.sh /opt/modeling/startService.sh
RUN chmod 700 /opt/modeling/startService.sh

WORKDIR /opt/modeling/
EXPOSE 8080
ENTRYPOINT /opt/modeling/startService.sh