Dockerfile update

This commit is contained in:
Diamantis Tziotzios 2022-12-06 11:55:06 +02:00
parent b7e69d5fdf
commit e1a3e9b7bc
1 changed files with 1 additions and 1 deletions

View File

@ -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"]