From 0421579da875199c3491574cddd71f3fa949df3b Mon Sep 17 00:00:00 2001 From: Beppe Vanrolleghem Date: Mon, 23 Mar 2020 13:58:41 +0100 Subject: [PATCH] dockerfile update (.jar toegevoegd hopelijk was dit de fout) --- src/dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dockerfile b/src/dockerfile index 0c89167..8b1155f 100644 --- a/src/dockerfile +++ b/src/dockerfile @@ -7,5 +7,5 @@ RUN gradle build --no-daemon FROM openjdk:11-jre-slim EXPOSE 80 -COPY --from=builder /home/gradle/src/build/libs/*.jar /app/spring-boot +COPY --from=builder /home/gradle/src/build/libs/*.jar /app/spring-boot.jar ENTRYPOINT ["java", "-XX:+UnlockExperimentalVMOptions", "-XX:+UseCGroupMemoryLimitForHeap", "-Djava.security.egd=file:/dev/./urandom","-jar","/app/spring-boot.jar"]