diff --git a/docker/Dockerfile b/docker/Dockerfile index 0b557fb..b9c5fcf 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM maven:3.9.7-eclipse-temurin-11-alpine AS build +FROM maven:3.9.9-amazoncorretto-11-alpine AS build COPY src /app/src COPY pom.xml /app RUN mvn -f /app/pom.xml clean package -DskipTests @@ -8,4 +8,4 @@ RUN useradd --create-home unprivileged-user USER unprivileged-user COPY --from=build /app/target/EvaluationEngine-*-jar-with-dependencies.jar /usr/local/lib/evaluation-engine.jar -ENTRYPOINT ["java", "-jar", "/usr/local/lib/evaluation-engine.jar"] \ No newline at end of file +ENTRYPOINT ["java", "-jar", "/usr/local/lib/evaluation-engine.jar"]