build as name change
This commit is contained in:
parent
5bb31d0a59
commit
530623b931
|
@ -31,6 +31,6 @@ WORKDIR /app
|
|||
|
||||
ARG PROFILE
|
||||
|
||||
COPY --from=MAVEN_BUILD /build/web/target/web-1.0-SNAPSHOT.jar /app.jar
|
||||
COPY --from=build-stage /build/web/target/web-1.0-SNAPSHOT.jar /app.jar
|
||||
|
||||
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom" ,"-Dspring.profiles.active=${PROFILE}","-jar","/app.jar"]
|
|
@ -28,5 +28,5 @@ WORKDIR /app
|
|||
ARG PROFILE
|
||||
ARG REVISION
|
||||
|
||||
COPY --from=MAVEN_BUILD /build/web/target/web-1.0-SNAPSHOT.jar /app/app.jar
|
||||
COPY --from=build-stage /build/web/target/web-1.0-SNAPSHOT.jar /app/app.jar
|
||||
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-Dspring.profiles.active=${PROFILE}", "-Dspring.config.additional-location=/files/config/", "-cp", "/app/app.jar", "-Dloader.path=/files/repo-jars", "org.springframework.boot.loader.PropertiesLauncher"]
|
Loading…
Reference in New Issue