Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

Ensure *.sh are LF-style, so that they can be used directly by Docker for Windows (#5793)

Jimm Chenb8999e367aa3
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000000..dcf74f06de2
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,7 @@
+# Ensure that .sh scripts use LF as line separator, even if they are checked out
+# to Windows(NTFS) file-system, by a user of Docker for Window.
+# These .sh scripts will be run from the Container after `docker compose up -d`.
+# If they appear to be CRLF style, Dash from the Container will fail to execute
+# them.
+
+*.sh text eol=lf