Optimize profiles path in docker

This commit is contained in:
2023-10-09 16:52:57 +08:00
parent e435fed9b2
commit 6de3f02171
2 changed files with 3 additions and 3 deletions

View File

@@ -10,4 +10,4 @@ COPY ${EXTRACTED}/snapshot-dependencies/ /
RUN true
COPY ${EXTRACTED}/application/ /
ENTRYPOINT ["java", "org.springframework.boot.loader.JarLauncher", "${JAVA_OPTS}"]
ENTRYPOINT ["java", "org.springframework.boot.loader.JarLauncher", "--spring.config.additional-location=file:data/", "${JAVA_OPTS}"]