From 06c0766ff358a412d0e6822ec3a88e6541ec7082 Mon Sep 17 00:00:00 2001 From: Joakim Taule Kartveit Date: Fri, 15 Sep 2023 10:58:00 +0200 Subject: [PATCH] Copy correct jar file --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2ef7b02b..36ad0fe0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM gcr.io/distroless/java17-debian11@sha256:052076466984fd56979c15a9c3b7433262b0ad9aae55bc0c53d1da8ffdd829c3 WORKDIR /app -COPY build/libs/*-all.jar app.jar +COPY build/libs/app-*.jar app.jar ENV JAVA_OPTS="-Dlogback.configurationFile=logback.xml" ENV TZ="Europe/Oslo" EXPOSE 8080