diff --git a/Dockerfile b/Dockerfile index 5a492fa3..234bd642 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -FROM openjdk:20-jdk AS builder +FROM openjdk:21-jdk AS builder COPY . . RUN chmod +x gradlew RUN ./gradlew bootJar -x test -FROM openjdk:20-slim +FROM openjdk:21-slim ARG APPLICATION ARG PORT ENV PORT $PORT