- 配合后端 scripts/push-build.sh:本机 astro build 后服务器只打镜像层,不跑 npm ci + build - .dockerignore 之前忽略 dist,会导致预构建 COPY dist 失败 - 新增 .gitattributes 固定 Dockerfile / yml / conf 为 LF