adapting Dockerfile for build chain
This commit is contained in:
parent
6d18fc81d3
commit
12fdb5a73a
@ -1,7 +1,7 @@
|
||||
FROM openjdk:8-jdk-alpine
|
||||
VOLUME /tmp
|
||||
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}/BOOT-INF/classes /app
|
||||
ENTRYPOINT ["java","-cp","app:app/lib/*","hello.Application"]
|
||||
# COPY ${DEPENDENCY}/BOOT-INF/classes /app
|
||||
ENTRYPOINT ["java", "com.becausesec.chuckjokes.ChuckjokesApplicationKt"]
|
Loading…
Reference in New Issue
Block a user