diff --git a/Dockerfile.jetty b/Dockerfile.jetty index 1e8d2dc..ab140c2 100644 --- a/Dockerfile.jetty +++ b/Dockerfile.jetty @@ -1,6 +1,6 @@ FROM maven:3-eclipse-temurin-11 AS builder -COPY pom.xml /app/ +COPY pom.xml pom.parent.xml /app/ COPY src/main /app/src/main/ WORKDIR /app diff --git a/Dockerfile.jetty-alpine b/Dockerfile.jetty-alpine index 78258e2..251adca 100644 --- a/Dockerfile.jetty-alpine +++ b/Dockerfile.jetty-alpine @@ -1,6 +1,6 @@ FROM maven:3-eclipse-temurin-11-alpine AS builder -COPY pom.xml /app/ +COPY pom.xml pom.parent.xml /app/ COPY src/main /app/src/main/ WORKDIR /app diff --git a/Dockerfile.tomcat b/Dockerfile.tomcat index 1c9493c..da70f73 100644 --- a/Dockerfile.tomcat +++ b/Dockerfile.tomcat @@ -1,6 +1,6 @@ FROM maven:3-eclipse-temurin-11 AS builder -COPY pom.xml /app/ +COPY pom.xml pom.parent.xml /app/ COPY src/main /app/src/main/ WORKDIR /app