Faster build
This commit is contained in:
parent
2525b9d9e9
commit
8ef2658255
@ -1,8 +1,9 @@
|
||||
FROM maven:3-eclipse-temurin-22 AS build
|
||||
WORKDIR /build
|
||||
COPY --link src src
|
||||
COPY --link pom.xml pom.xml
|
||||
RUN mvn package
|
||||
RUN mvn package || true 2>/dev/null
|
||||
COPY --link src src
|
||||
RUN mvn package -DskipTests=true
|
||||
|
||||
FROM eclipse-temurin:22-jdk-alpine
|
||||
WORKDIR /app
|
||||
|
Loading…
Reference in New Issue
Block a user