From 6e9b874df6625e843fbcb63a9db648ba98a067ca Mon Sep 17 00:00:00 2001 From: "marius.ciepluch" Date: Wed, 9 Jan 2019 09:50:01 +0100 Subject: [PATCH] adapting Java classpath for alpine Linux openjdk image --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 27ea611..badc51f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,4 +4,4 @@ ARG DEPENDENCY=target/dependency # COPY ${DEPENDENCY}/BOOT-INF/lib /app/lib COPY ${DEPENDENCY}/META-INF /app/META-INF # COPY ${DEPENDENCY}/BOOT-INF/classes /app -ENTRYPOINT ["java", "com.becausesec.chuckjokes.ChuckjokesApplicationKt"] \ No newline at end of file +ENTRYPOINT ["java","-cp","app","com.becausesec.chuckjokes.ChuckjokesApplicationKt"] \ No newline at end of file