adapting Java classpath for alpine Linux openjdk image
This commit is contained in:
parent
12fdb5a73a
commit
6e9b874df6
@ -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"]
|
Loading…
Reference in New Issue
Block a user