暂存提交

This commit is contained in:
2026-07-31 18:10:32 +08:00
parent e834482717
commit 9a37657148
35 changed files with 435 additions and 44 deletions
+1 -2
View File
@@ -6,8 +6,7 @@ RUN addgroup -S app \
WORKDIR /app
# 预建运行时数据和日志目录并归属 app 用户:bind mount 首次挂载时会继承此属主,
# 否则 Docker 以 root:root 0755 创建挂载点,非 root 容器无法写入。
# 预建镜像内运行时数据和日志目录并归属 app 用户;宿主机 bind mount 的属主需在部署前单独设置为 UID 10001。
RUN mkdir -p /data/files /app/logs && chown -R app:app /data /app/logs
ARG JAR_FILE