Add Mapping
Change-Id: I417b7fe9d0e588c6c38dc23eb55e43a85e277e81
Issue-ID: DCAEGEN2-1216
Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
diff --git a/src/main/resources/Dockerfile b/src/main/resources/Dockerfile
index e48427c..9291567 100644
--- a/src/main/resources/Dockerfile
+++ b/src/main/resources/Dockerfile
@@ -18,6 +18,9 @@
# ============LICENSE_END=========================================================
#
FROM openjdk:8-jre
-ENTRYPOINT ["/usr/bin/java", "-jar", "/opt/pm-mapper.jar"]
+ENTRYPOINT ["/usr/bin/java", "-jar", "/opt/app/pm-mapper/pm-mapper.jar"]
ARG JAR
-ADD target/${JAR} /opt/pm-mapper.jar
+WORKDIR /opt/app/pm-mapper
+ADD target/${JAR} /opt/app/pm-mapper/pm-mapper.jar
+ADD target/classes/mapping.ftl /opt/app/pm-mapper/etc/mapping.ftl
+