diff --git a/dmp-backend/Dockerfile.CI b/dmp-backend/Dockerfile.CI index c5e913bb8..fc29db223 100644 --- a/dmp-backend/Dockerfile.CI +++ b/dmp-backend/Dockerfile.CI @@ -19,9 +19,9 @@ RUN rm -f /build/web/src/main/resources/logging/*.xml WORKDIR /build/ #RUN mvn package -q -# RUN mvn -Drevision=${REVISION} -DdevProfileUrl=${DEV_PROFILE_URL} -P${PROFILE} dependency:go-offline +RUN mvn -Drevision=${REVISION} -DdevProfileUrl=${DEV_PROFILE_URL} -P${PROFILE} dependency:go-offline # Build project -RUN mvn -Drevision=${REVISION} -DdevProfileUrl=${DEV_PROFILE_URL} -P${PROFILE} clean package +RUN mvn -Drevision=${REVISION} -DdevProfileUrl=${DEV_PROFILE_URL} -P${PROFILE} clean package -q ######################################## Run Stage ######################################## FROM eclipse-temurin:21-jre-alpine @@ -33,6 +33,6 @@ ARG REVISION ENV SERVER_PORT=8080 EXPOSE ${SERVER_PORT} -COPY --from=build-stage /build/web/target/web-${REVISION}.jar /app/app.jar +COPY --from=build-stage /build/web/target/web-${REVISION}.jar /app.jar -ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-Dspring.profiles.active=${PROFILE}", "-Dspring.config.additional-location=file:/config/", "-jar", "/app/app.jar"] \ No newline at end of file +ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-Dspring.profiles.active=${PROFILE}", "-Dspring.config.additional-location=file:/config/", "-jar", "/app.jar"] \ No newline at end of file diff --git a/dmp-backend/pom.xml b/dmp-backend/pom.xml index 715e235c7..8c21353a4 100644 --- a/dmp-backend/pom.xml +++ b/dmp-backend/pom.xml @@ -15,8 +15,8 @@ - web core + web