maven package zu install geändert
Some checks failed
Productdefinitions Build & Deploy / deploy (push) Failing after 11s
Some checks failed
Productdefinitions Build & Deploy / deploy (push) Failing after 11s
This commit is contained in:
@@ -11,10 +11,13 @@ RUN git clone -b feature/Produkte --single-branch https://bitbucket.org/omds/omd
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN mvn install -N
|
RUN mvn install -N
|
||||||
RUN mvn -pl server-app clean package
|
RUN mvn -pl server-app -am clean install
|
||||||
|
|
||||||
FROM eclipse-temurin:21-jre-alpine
|
FROM eclipse-temurin:21-jre-alpine
|
||||||
WORKDIR /productdefinitions
|
WORKDIR /productdefinitions
|
||||||
|
RUN ls -la
|
||||||
|
RUN CD server-app/target \
|
||||||
|
RUN ls -la
|
||||||
COPY --from=build /productdefinitions/server-app/target/*.jar productdefinitions.jar
|
COPY --from=build /productdefinitions/server-app/target/*.jar productdefinitions.jar
|
||||||
|
|
||||||
EXPOSE 9080
|
EXPOSE 9080
|
||||||
|
|||||||
Reference in New Issue
Block a user