@@ -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
|
||||
|
Reference in New Issue
Block a user