Loading Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ FROM eclipse-temurin:17-jdk-alpine WORKDIR /app # Copy the built JAR from builder stage COPY --from=builder /build/target/org.etsi.osl.controllers.ietf.ns-0.0.1-SNAPSHOT.jar app.jar COPY --from=builder /build/target/org.etsi.osl.controllers.ietf.ns-0.0.1-SNAPSHOT-exec.jar app.jar # Run the application ENTRYPOINT ["java", "-jar", "app.jar"] pom.xml +22 −0 Original line number Diff line number Diff line Loading @@ -367,6 +367,28 @@ </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>${spring.boot-version}</version> <executions> <execution> <goals> <goal>repackage</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>${spring.boot-version}</version> <configuration> <classifier>exec</classifier> </configuration> </plugin> </plugins> </build> </project> No newline at end of file Loading
Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ FROM eclipse-temurin:17-jdk-alpine WORKDIR /app # Copy the built JAR from builder stage COPY --from=builder /build/target/org.etsi.osl.controllers.ietf.ns-0.0.1-SNAPSHOT.jar app.jar COPY --from=builder /build/target/org.etsi.osl.controllers.ietf.ns-0.0.1-SNAPSHOT-exec.jar app.jar # Run the application ENTRYPOINT ["java", "-jar", "app.jar"]
pom.xml +22 −0 Original line number Diff line number Diff line Loading @@ -367,6 +367,28 @@ </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>${spring.boot-version}</version> <executions> <execution> <goals> <goal>repackage</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>${spring.boot-version}</version> <configuration> <classifier>exec</classifier> </configuration> </plugin> </plugins> </build> </project> No newline at end of file