Skip to content

Commit

Permalink
chain format corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
mbuechner committed Sep 20, 2024
1 parent 39cb91d commit 36cf35a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM maven:3-eclipse-temurin-21-alpine AS MAVEN_CHAIN
FROM maven:3-eclipse-temurin-21-alpine AS maven_chain
COPY pom.xml /tmp/
COPY src /tmp/src/
WORKDIR /tmp/
RUN mvn clean package

FROM eclipse-temurin:21-jre-alpine
RUN mkdir /home/beagen
COPY --from=MAVEN_CHAIN /tmp/target/beagen.jar /home/beagen/beagen.jar
COPY --from=maven_chain /tmp/target/beagen.jar /home/beagen/beagen.jar
WORKDIR /home/beagen/
CMD ["java", "-Xms512M", "-Xmx1G", "-jar", "beagen.jar"]

Expand Down

0 comments on commit 36cf35a

Please sign in to comment.