no message
This commit is contained in:
parent
a11e2c300d
commit
e1b09c9250
|
@ -19,9 +19,9 @@ RUN rm -f /build/web/src/main/resources/logging/*.xml
|
||||||
WORKDIR /build/
|
WORKDIR /build/
|
||||||
|
|
||||||
#RUN mvn package -q
|
#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
|
# 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 ########################################
|
######################################## Run Stage ########################################
|
||||||
FROM eclipse-temurin:21-jre-alpine
|
FROM eclipse-temurin:21-jre-alpine
|
||||||
|
@ -33,6 +33,6 @@ ARG REVISION
|
||||||
ENV SERVER_PORT=8080
|
ENV SERVER_PORT=8080
|
||||||
EXPOSE ${SERVER_PORT}
|
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"]
|
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-Dspring.profiles.active=${PROFILE}", "-Dspring.config.additional-location=file:/config/", "-jar", "/app.jar"]
|
|
@ -15,8 +15,8 @@
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
<module>web</module>
|
|
||||||
<module>core</module>
|
<module>core</module>
|
||||||
|
<module>web</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
|
Loading…
Reference in New Issue