Dockerfile aktualisiert
This commit is contained in:
+3
-3
@@ -6,16 +6,16 @@ WORKDIR /usr/src/app
|
|||||||
|
|
||||||
RUN git clone https://gitea.dev.osnawiki.de/ds/springhello/
|
RUN git clone https://gitea.dev.osnawiki.de/ds/springhello/
|
||||||
|
|
||||||
WORKDIR /usr/src/app/springhello
|
WORKDIR /usr/src/app/
|
||||||
|
|
||||||
RUN mvn package
|
RUN mvn package
|
||||||
RUN mvn deploy
|
RUN mvn deploy
|
||||||
|
|
||||||
FROM maven:3.9.14-eclipse-temurin-21
|
FROM maven:3.9.14-eclipse-temurin-21
|
||||||
|
|
||||||
#COPY --from=builder /usr/src/app/springhello .
|
COPY --from=builder /usr/src/app/springhello .
|
||||||
|
|
||||||
#WORKDIR /usr/src/app/springhello
|
WORKDIR /usr/src/app/springhello
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user