fix jar names on dockerfile

This commit is contained in:
Alexandros Mandilaras 2024-02-20 16:41:29 +02:00
parent 2fb3332390
commit 26eb185ce9
2 changed files with 4 additions and 4 deletions

View File

@ -30,6 +30,6 @@ FROM eclipse-temurin:21-jre-ubi9-minimal
ARG PROFILE ARG PROFILE
ARG REVISION ARG REVISION
COPY --from=build-stage /build/annotation-web/target/sti-viewer-annotation-web.jar /app/sti-viewer-annotation-web.jar COPY --from=build-stage /build/annotation-web/target/annotation-web.jar /app/annotation-web.jar
ENTRYPOINT ["java","-Dspring.config.additional-location=file:/config/","-Dspring.profiles.active=${PROFILE}","-Djava.security.egd=file:/dev/./urandom","-jar","/app/sti-viewer-annotation-web.jar"] ENTRYPOINT ["java","-Dspring.config.additional-location=file:/config/","-Dspring.profiles.active=${PROFILE}","-Djava.security.egd=file:/dev/./urandom","-jar","/app/annotation-web.jar"]

View File

@ -30,6 +30,6 @@ FROM eclipse-temurin:21-jre-ubi9-minimal
ARG PROFILE ARG PROFILE
ARG REVISION ARG REVISION
COPY --from=build-stage /build/notification-web/target/sti-viewer-notification-web-${REVISION}.jar /app/sti-viewer-notification-web.jar COPY --from=build-stage /build/notification-web/target/notification-web.jar /app/notification-web.jar
ENTRYPOINT ["java","-Dspring.config.additional-location=file:/config/","-Dspring.profiles.active=${PROFILE}","-Djava.security.egd=file:/dev/./urandom","-jar","/app/sti-viewer-notification-web.jar"] ENTRYPOINT ["java","-Dspring.config.additional-location=file:/config/","-Dspring.profiles.active=${PROFILE}","-Djava.security.egd=file:/dev/./urandom","-jar","/app/notification-web.jar"]