fix dockerfile

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2024-10-20 20:05:00 +02:00
parent 3ea693a76a
commit 211350f8a4

View File

@@ -15,7 +15,7 @@ COPY --chown=app ./mvnw ./pom.xml ./app.json ./
COPY --chown=app ./src ./src COPY --chown=app ./src ./src
# Build the production package # 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 # Running stage: the part that is used for running the application
FROM eclipse-temurin:21-jre-noble FROM eclipse-temurin:21-jre-noble