There was an error while loading. Please reload this page.
2 parents b1c5484 + 685a3cb commit 2ce2b97Copy full SHA for 2ce2b97
1 file changed
Dockerfile
@@ -1,13 +1,16 @@
1
FROM maven:3.9.6-eclipse-temurin-21 AS build
2
WORKDIR /app
3
4
+
5
+COPY pom.xml ./
6
COPY .mvn/ .mvn
-COPY mvnw pom.xml ./
-RUN chmod +x mvnw
7
-RUN ./mvnw dependency:go-offline --no-transfer-progress --fail-fast
+COPY mvnw ./
8
9
10
+RUN mvn dependency:go-offline --no-transfer-progress --fail-fast
11
COPY src ./src
-RUN ./mvnw clean package -Dmaven.test.skip=true --no-transfer-progress --fail-fast
12
+RUN mvn clean package -Dmaven.test.skip=true --no-transfer-progress --fail-fast
13
14
15
FROM eclipse-temurin:21-jre-jammy
16
0 commit comments