diff options
Diffstat (limited to 'src/main/resources/Dockerfile')
-rw-r--r-- | src/main/resources/Dockerfile | 7 |
1 files changed, 5 insertions, 2 deletions
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 + |