Skip to content

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

fix(docker): add .gitattributes to enforce LF for .sh files (Blocker 3) (#1270)

Akshat malikfc82d3067dcf
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000..41806c2f5
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,5 @@
+# Ensure shell scripts always use LF line endings in the repo and on checkout.
+# Without this, git on Windows converts .sh files to CRLF, producing a
+# "#!/bin/bash\r" shebang that Linux cannot resolve, causing:
+# exec /app/entrypoint.sh: no such file or directory
+*.sh text eol=lf