fix jar names on dockerfile
This commit is contained in:
parent
2fb3332390
commit
26eb185ce9
|
@ -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"]
|
|
@ -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"]
|
Loading…
Reference in New Issue