diff --git a/Dockerfile b/Dockerfile index 9e888109..8c8c6656 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM clojure:temurin-11-lein-2.9.10-alpine as builder +FROM clojure:temurin-17-lein-2.11.2-alpine as builder RUN mkdir /app WORKDIR /app COPY . /app/ RUN lein uberjar -FROM gcr.io/distroless/java:11 +FROM gcr.io/distroless/java17-debian12 COPY --from=builder /app/target/eduhub-rio-mapper.jar /eduhub-rio-mapper.jar ENTRYPOINT ["java", "-jar", "/eduhub-rio-mapper.jar"]