Dockerfile aktualisiert

This commit is contained in:
ds
2026-03-26 01:02:10 +00:00
parent 60c51c8910
commit 5d392ed868
+6 -4
View File
@@ -6,13 +6,15 @@ WORKDIR /usr/src/app
RUN echo "1" && git clone https://gitea.dev.osnawiki.de/ds/springhello/
RUN cd springhello && mvn compile
WORKDIR /usr/src/app
FROM maven:3.9.14-eclipse-temurin-21
RUN mvn compile
COPY --from=builder /usr/src/app/springhello .
#FROM maven:3.9.14-eclipse-temurin-21
WORKDIR /usr/src/app/springhello
#COPY --from=builder /usr/src/app/springhello .
#WORKDIR /usr/src/app/springhello
EXPOSE 8080