update dockerfile to include directory with repository jars
This commit is contained in:
parent
7a0e1c89f2
commit
da211ca756
|
@ -5,6 +5,10 @@ COPY data /build/data/
|
|||
COPY elastic /build/elastic/
|
||||
COPY queryable /build/queryable/
|
||||
COPY web /build/web/
|
||||
COPY depositinterface /build/depositinterface
|
||||
|
||||
WORKDIR /build/depositinterface/
|
||||
RUN mvn install
|
||||
|
||||
WORKDIR /build/
|
||||
RUN mvn package
|
||||
|
@ -12,4 +16,4 @@ RUN mvn package
|
|||
FROM adoptopenjdk/openjdk11:alpine-jre
|
||||
WORKDIR /app
|
||||
COPY --from=MAVEN_BUILD /build/web/target/web-1.0-SNAPSHOT.jar /app/app.jar
|
||||
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-Dspring.profiles.active=${PROF}", "-Dspring.config.additional-location=/files/config/", "-jar","/app/app.jar"]
|
||||
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-Dspring.profiles.active=${PROF}", "-Dspring.config.additional-location=/files/config/", "-Dspring.config.additional-location=/files/repoJars/", "-cp", "/app/app.jar", "-Dloader.path=/files/repoJars", "org.springframework.boot.loader.PropertiesLauncher"]
|
||||
|
|
Loading…
Reference in New Issue