diff --git a/Dockerfile b/Dockerfile index 724ad9c..a023d64 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM eclipse-temurin:22-jdk-noble AS build +FROM eclipse-temurin:25.0.1_8-jdk-noble AS build ENV JAVA_TOOL_OPTIONS="--enable-preview" WORKDIR /app COPY . . RUN --mount=type=cache,target=/root/.gradle ./gradlew bootJar --no-daemon -FROM eclipse-temurin:22-jre-noble AS runtime +FROM eclipse-temurin:25.0.1_8-jre-noble AS runtime WORKDIR /app VOLUME /app/config COPY --from=build /app/build/libs/AsyncLevelling-*.jar app.jar