diff --git a/Dockerfile b/Dockerfile index 2bbcb66..2566473 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ COPY --chown=app ./mvnw ./pom.xml ./app.json ./ COPY --chown=app ./src ./src # Build the production package -RUN ./mvnw --batch-mode clean verify -DskipTests +RUN ./mvnw --batch-mode clean verify -Pproduction -DskipTests # Running stage: the part that is used for running the application FROM eclipse-temurin:21-jre-noble