Zuerst Parent dann server-app bauen
Some checks failed
Productdefinitions Build & Deploy / deploy (push) Failing after 2m18s

This commit is contained in:
2026-01-29 17:06:13 +01:00
parent 219e4757a5
commit 7c135b01e0

View File

@@ -1,5 +1,7 @@
FROM maven:3.9-eclipse-temurin-21 AS build
COPY . /productdefinitions
COPY pom.xml /productdefinitions
COPY server-app/pom.xml /productdefinitions/server-app
WORKDIR /productdefinitions
RUN git clone -b feature/Produkte --single-branch https://bitbucket.org/omds/omdsservicedefinitions.git /tmp/lib \
@@ -8,7 +10,8 @@ RUN git clone -b feature/Produkte --single-branch https://bitbucket.org/omds/omd
COPY . .
RUN mvn clean package -DskipTests
RUN mvn install -N
RUN mvn -pl server-app -am clean package
FROM eclipse-temurin:21-jre-alpine
WORKDIR /productdefinitions