Dockerfile aktualisiert
This commit is contained in:
+6
-4
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user