This commit is contained in:
Alexandros Mandilaras 2024-02-22 10:26:33 +02:00
parent 3d2018f59a
commit 63bc7f3685
3 changed files with 3 additions and 3 deletions

View File

@ -31,6 +31,6 @@ WORKDIR /app
ARG PROFILE
COPY --from=build-stage /build/web/target/web-1.0-SNAPSHOT.jar /app.jar
COPY --from=build-stage /build/web/target/web-1.0.0-SNAPSHOT.jar /app.jar
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom" ,"-Dspring.profiles.active=${PROFILE}","-jar","/app.jar"]

View File

@ -30,5 +30,5 @@ WORKDIR /app
ARG PROFILE
ARG REVISION
COPY --from=build-stage /build/web/target/web-1.0-SNAPSHOT.jar /app/app.jar
COPY --from=build-stage /build/web/target/web-1.0.0-SNAPSHOT.jar /app/app.jar
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-Dspring.profiles.active=${PROFILE}", "-Dspring.config.additional-location=/files/config/", "-cp", "/app/app.jar", "-Dloader.path=/files/repo-jars", "org.springframework.boot.loader.PropertiesLauncher"]

View File

@ -6,7 +6,7 @@
<groupId>dmp-backend</groupId>
<artifactId>web</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
<packaging>${packaging.type}</packaging>
<parent>