aboutsummaryrefslogtreecommitdiffstats
path: root/tapisimulator/Dockerfile
diff options
context:
space:
mode:
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"]