# Windows 签出(core.autocrlf)会把文本文件转成 CRLF。 # Dockerfile.trading 内嵌 heredoc 生成 shell 入口脚本,CRLF 会让 shebang # 变成 /bin/sh\r,容器启动报 "No such file or directory"。以下文件强制 LF: Dockerfile* text eol=lf *.sh text eol=lf *.py text eol=lf *.yaml text eol=lf *.yml text eol=lf *.toml text eol=lf *.json text eol=lf