aboutsummaryrefslogtreecommitdiffstats
path: root/msasimulator/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'msasimulator/Dockerfile')
-rw-r--r--msasimulator/Dockerfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/msasimulator/Dockerfile b/msasimulator/Dockerfile
new file mode 100644
index 0000000..6f66773
--- /dev/null
+++ b/msasimulator/Dockerfile
@@ -0,0 +1,9 @@
+FROM java:openjdk-8
+ARG VERSION=${version}
+ARG JAR_FILE=target/msasimulator-${VERSION}.jar
+COPY ${JAR_FILE} app.jar
+COPY json-files/* /opt/onap/msasimulator/templates/
+ADD entrypoint.sh .
+RUN chmod +x entrypoint.sh
+EXPOSE 8082
+ENTRYPOINT ["./entrypoint.sh"]