feat(部署): 优化部署目录

This commit is contained in:
2026-08-27 14:42:14 +08:00
parent 19bc987f36
commit 01fad1b65a
8 changed files with 139 additions and 23 deletions
+2 -1
View File
@@ -8,4 +8,5 @@ RUN addgroup -S app && adduser -S app -G app
USER app
# 实际端口由 Spring profile 决定(test:8101 / pre:8102 / prod:8103)
EXPOSE 8101 8102 8103
ENTRYPOINT ["java", "-jar", "/app/app.jar"]
# 环境 yml 与 app.jar 同级;license 等仍在 ./config/
ENTRYPOINT ["java", "-jar", "/app/app.jar", "--spring.config.additional-location=optional:file:./"]