Dockerfile update
This commit is contained in:
parent
b7e69d5fdf
commit
e1a3e9b7bc
|
@ -16,4 +16,4 @@ RUN mvn package
|
||||||
FROM adoptopenjdk/openjdk11:alpine-jre
|
FROM adoptopenjdk/openjdk11:alpine-jre
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=MAVEN_BUILD /build/web/target/web-1.0-SNAPSHOT.jar /app/app.jar
|
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/", "-Dspring.config.additional-location=/files/repoJars/", "-cp", "/app/app.jar", "-Dloader.path=/files/repoJars", "org.springframework.boot.loader.PropertiesLauncher"]
|
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-Dspring.profiles.active=${PROF}", "-Dspring.config.additional-location=/files/config/", "-cp", "/app/app.jar", "-Dloader.path=/files/repoJars", "org.springframework.boot.loader.PropertiesLauncher"]
|
||||||
|
|
Loading…
Reference in New Issue