aboutsummaryrefslogtreecommitdiffstats
path: root/tapisimulator/Dockerfile
diff options
context:
space:
mode:
authorMehreen Kaleem <mehreen.kaleem@us.fujitsu.com>2020-04-27 06:11:03 +0000
committerMehreen Kaleem <mehreen.kaleem@us.fujitsu.com>2020-04-27 08:51:12 +0000
commit4408ab05ba1ee07b70d717b7183d76bd718653e5 (patch)
treede48eddaf697b1e9be5bad989d9c72ba4819b498 /tapisimulator/Dockerfile
parente3a5e83ea1385a3fdf56173027ba37ca6d17887f (diff)
Added the base version of the controllers used
for the MDONS use case version(1.0.0SNAPSHOT) with test cases. Issue-ID: INT-1532 Change-Id: Ic51448e52722a5edef1ac07a978bb3fdaac07a5d Signed-off-by: Mehreen Kaleem <mehreen.kaleem@us.fujitsu.com>
Diffstat (limited to 'tapisimulator/Dockerfile')
-rw-r--r--tapisimulator/Dockerfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/tapisimulator/Dockerfile b/tapisimulator/Dockerfile
new file mode 100644
index 0000000..d6246f2
--- /dev/null
+++ b/tapisimulator/Dockerfile
@@ -0,0 +1,9 @@
+FROM java:openjdk-8
+ARG VERSION=${version}
+ARG JAR_FILE=target/tapisimulator-${VERSION}.jar
+COPY ${JAR_FILE} app.jar
+COPY json-files/* /opt/onap/tapisimulator/templates/
+ADD entrypoint.sh .
+RUN chmod +x entrypoint.sh
+EXPOSE 8080
+ENTRYPOINT ["./entrypoint.sh"]