Dockerfile aktualisiert
This commit is contained in:
+3
-3
@@ -6,14 +6,14 @@ WORKDIR /usr/src/app
|
||||
|
||||
RUN git clone https://gitea.dev.osnawiki.de/ds/springhello/
|
||||
|
||||
RUN mvn compile
|
||||
RUN cd springhello && mvn compile
|
||||
|
||||
FROM maven:3.9.14-eclipse-temurin-21
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY --from=builder /usr/src/app/* .
|
||||
|
||||
WORKDIR /usr/src/app/springhello
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
ENTRYPOINT ["mvn"]
|
||||
|
||||
Reference in New Issue
Block a user