diff --git a/annotation-service/Dockerfile b/annotation-service/Dockerfile index f622f2429..e2a6f93f7 100644 --- a/annotation-service/Dockerfile +++ b/annotation-service/Dockerfile @@ -30,6 +30,6 @@ FROM eclipse-temurin:21-jre-ubi9-minimal ARG PROFILE 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"] \ No newline at end of file +ENTRYPOINT ["java","-Dspring.config.additional-location=file:/config/","-Dspring.profiles.active=${PROFILE}","-Djava.security.egd=file:/dev/./urandom","-jar","/app/annotation-web.jar"] \ No newline at end of file diff --git a/notification-service/Dockerfile b/notification-service/Dockerfile index 7336e0da1..301727af9 100644 --- a/notification-service/Dockerfile +++ b/notification-service/Dockerfile @@ -30,6 +30,6 @@ FROM eclipse-temurin:21-jre-ubi9-minimal ARG PROFILE 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"] \ No newline at end of file +ENTRYPOINT ["java","-Dspring.config.additional-location=file:/config/","-Dspring.profiles.active=${PROFILE}","-Djava.security.egd=file:/dev/./urandom","-jar","/app/notification-web.jar"] \ No newline at end of file