diff --git a/Dockerfile b/Dockerfile index a4fd26a..105f5da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage 1: Build the application -FROM maven:3.9.6-eclipse-temurin-17-alpine AS builder +FROM 3.9.9-eclipse-temurin-21-alpine AS builder # Set the working directory WORKDIR /home/container @@ -11,7 +11,7 @@ COPY . . RUN mvn package -q -Dmaven.test.skip -DskipTests -T2C # Stage 2: Create the final lightweight image -FROM eclipse-temurin:17.0.11_9-jre-focal +FROM eclipse-temurin:21-jre-alpine # Set the working directory WORKDIR /home/container