From 36cf35afecdeb95a390e9e476bceef2450579832 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20B=C3=BCchner?= Date: Fri, 20 Sep 2024 11:18:47 +0200 Subject: [PATCH] chain format corrected --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 92924eb..b147535 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -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/ @@ -6,7 +6,7 @@ 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"]