diff --git a/Dockerfile b/Dockerfile index 21aff48..8fd97ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ibm-semeru-runtimes:open-17-jdk as builder +FROM ibm-semeru-runtimes:open-19-jdk as builder RUN apt-get update && apt-get install -y --no-install-recommends maven ADD . /app WORKDIR /app @@ -6,6 +6,6 @@ WORKDIR /app RUN cp src/main/resources/application.yml.example src/main/resources/application.yml && \ mvn package -Dmaven.test.skip=true -FROM ibm-semeru-runtimes:open-17-jre -COPY --from=builder /app/target/junk-0.0.1-SNAPSHOT.jar /app.jar +FROM ibm-semeru-runtimes:open-19-jre +COPY --from=builder /app/target/junk-1.0.0-SNAPSHOT.jar /app.jar CMD ["java", "-jar", "/app.jar"]