diff --git a/Dockerfile b/Dockerfile index 2c22071..fbc768a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM eclipse-temurin:17-jdk-jammy as builder +FROM eclipse-temurin:17.0.11_9-jdk-jammy as builder WORKDIR /opt/app COPY .mvn/ .mvn COPY mvnw pom.xml ./ @@ -6,7 +6,7 @@ RUN ./mvnw dependency:go-offline COPY ./src ./src RUN ./mvnw clean install -DskipTests -FROM eclipse-temurin:17-jre-jammy +FROM eclipse-temurin:17.0.11_9-jre-jammy WORKDIR /opt/app EXPOSE 8080 COPY --from=builder /opt/app/target/*.jar /opt/app/*.jar