summaryrefslogtreecommitdiffstats
path: root/javatoscachecker/service/src/main/docker/Dockerfile
diff options
context:
space:
mode:
authorSerban Jora <jora@research.att.com>2017-10-05 00:53:51 -0400
committerSerban Jora <jora@research.att.com>2017-10-13 14:43:38 -0400
commit9cec84e1594129c4035cb5e258e13cd1191eac19 (patch)
treee2cb3a0387fffa9c5065e2f7bd62313c17356f2f /javatoscachecker/service/src/main/docker/Dockerfile
parentac8436a606dddd9b00f6bb62ac3fa661eea6773d (diff)
Add Docker build plugin and support
Change-Id: I5dde9d9c12a5f62f53a1ce943fe5acf8a2c236bd Issue-Id: MODELING-26 Signed-off-by: Serban Jora <jora@research.att.com>
Diffstat (limited to 'javatoscachecker/service/src/main/docker/Dockerfile')
-rw-r--r--javatoscachecker/service/src/main/docker/Dockerfile15
1 files changed, 15 insertions, 0 deletions
diff --git a/javatoscachecker/service/src/main/docker/Dockerfile b/javatoscachecker/service/src/main/docker/Dockerfile
new file mode 100644
index 0000000..2287b7d
--- /dev/null
+++ b/javatoscachecker/service/src/main/docker/Dockerfile
@@ -0,0 +1,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
+
+