Files
frontend_v2/.gitattributes
toom1996 e7377a8771 build: 新增 Dockerfile.prebuilt,.dockerignore 保留 dist
- 配合后端 scripts/push-build.sh:本机 astro build 后服务器只打镜像层,不跑 npm ci + build
- .dockerignore 之前忽略 dist,会导致预构建 COPY dist 失败
- 新增 .gitattributes 固定 Dockerfile / yml / conf 为 LF
2026-10-21 00:03:06 +08:00

9 lines
226 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Dockerfile 必须 LF:CRLF 会让续行符 `\` 后面多出一个 \r,被当成指令参数
Dockerfile text eol=lf
Dockerfile.* text eol=lf
# 脚本与配置统一 LF
*.sh text eol=lf
*.yml text eol=lf
*.conf text eol=lf