diff --git a/Dockerfile b/Dockerfile index 94a2b900ce..1f0dab0d79 100644 --- a/Dockerfile +++ b/Dockerfile @@ -60,10 +60,6 @@ WORKDIR /app COPY --chmod=755 --from=maven /build/irs-api/target/irs-api-*-exec.jar app.jar -COPY LICENSE LICENSE -COPY NOTICE.md NOTICE.md -COPY DEPENDENCIES DEPENDENCIES - USER ${UID}:${GID} ENTRYPOINT ["java", "-Djava.util.logging.config.file=./logging.properties", "-jar", "app.jar"] diff --git a/irs-api/pom.xml b/irs-api/pom.xml index 0df0c8c39a..68baab40e3 100644 --- a/irs-api/pom.xml +++ b/irs-api/pom.xml @@ -259,6 +259,20 @@ + + + ${project.basedir}/src/main/resources + + + ${project.basedir}/.. + + LICENSE + NOTICE.md + DEPENDENCIES + + META-INF/ + + org.springframework.boot