refacor: 重构目录架构

This commit is contained in:
2026-09-16 22:43:21 +08:00
parent b37cdb0d54
commit 2754ed1e45
2762 changed files with 0 additions and 1529 deletions
+12
View File
@@ -0,0 +1,12 @@
# 运行时镜像:业务 JAR 通过 volume 挂载 /app/app.jar,更新部署无需重建镜像
ARG BASE_IMAGE=docker.m.daocloud.io/library/eclipse-temurin:17-jre-alpine
FROM ${BASE_IMAGE}
WORKDIR /app
RUN addgroup -S app && adduser -S app -G app
USER app
# 实际端口由 Spring profile 决定(test:8101 / pre:8102 / prod:8103)
EXPOSE 8101 8102 8103
# 环境 yml 与 app.jar 同级;license 等仍在 ./config/
ENTRYPOINT ["java", "-jar", "/app/app.jar", "--spring.config.additional-location=optional:file:./"]