diff --git a/Dockerfile b/Dockerfile index af8a93c..3002132 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,6 +29,6 @@ WORKDIR /app COPY --from=build /productdefinitions/server-app/target/server-app-*.jar app.jar # Debug-Schritt: Zeig uns im Log, ob die Datei da ist und wie groß sie ist -RUN ls -lh app.jar && jar tf app.jar | grep META-INF/MANIFEST.MF +RUN ls -lh app.jar EXPOSE 9080 ENTRYPOINT ["java", "-jar", "app.jar"] \ No newline at end of file diff --git a/server-app/pom.xml b/server-app/pom.xml index 965cd99..bdfcbfb 100644 --- a/server-app/pom.xml +++ b/server-app/pom.xml @@ -115,6 +115,13 @@ org.springframework.boot spring-boot-maven-plugin + + + + repackage + + +