adapting Java classpath for alpine Linux openjdk image

This commit is contained in:
marius.ciepluch 2019-01-09 09:50:01 +01:00
parent 12fdb5a73a
commit 6e9b874df6

View File

@ -4,4 +4,4 @@ ARG DEPENDENCY=target/dependency
# COPY ${DEPENDENCY}/BOOT-INF/lib /app/lib # COPY ${DEPENDENCY}/BOOT-INF/lib /app/lib
COPY ${DEPENDENCY}/META-INF /app/META-INF COPY ${DEPENDENCY}/META-INF /app/META-INF
# COPY ${DEPENDENCY}/BOOT-INF/classes /app # COPY ${DEPENDENCY}/BOOT-INF/classes /app
ENTRYPOINT ["java", "com.becausesec.chuckjokes.ChuckjokesApplicationKt"] ENTRYPOINT ["java","-cp","app","com.becausesec.chuckjokes.ChuckjokesApplicationKt"]