Skip to content

Commit

Permalink
Updated Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mbuechner committed Sep 19, 2024
1 parent ea88eb8 commit d2d8606
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,10 +1,10 @@
FROM maven:3-openjdk-21-slim 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 openjdk:21-alpine
FROM eclipse-temurin:21-jre-alpine
RUN mkdir /home/beagen
COPY --from=MAVEN_CHAIN /tmp/target/beagen.jar /home/beagen/beagen.jar
WORKDIR /home/beagen/
Expand Down

0 comments on commit d2d8606

Please sign in to comment.