From 2d43a498cfaecd89b990b919111d7df8645dee04 Mon Sep 17 00:00:00 2001 From: Mayuresh-1306 Date: Fri, 3 Oct 2025 21:41:53 +0530 Subject: [PATCH] docs: Add note on LF endings for Docker setup (#13650) Resolves #13602 --- > [!NOTE] > Adds a Windows-specific note instructing to use LF line endings for `start.sh` in the Docker setup to prevent container script errors. > > Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 662beb3d53769741a3a320512162ddf7ea5b561b. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot). Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com> --- www/apps/book/app/learn/installation/docker/page.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/www/apps/book/app/learn/installation/docker/page.mdx b/www/apps/book/app/learn/installation/docker/page.mdx index 95ee301ba5..abaa78e8f6 100644 --- a/www/apps/book/app/learn/installation/docker/page.mdx +++ b/www/apps/book/app/learn/installation/docker/page.mdx @@ -141,6 +141,12 @@ Next, you need to create a script file that [runs database migrations](../../fun Create the file `start.sh` with the following content: + + +Ensure that the `start.sh` file uses LF line endings instead of CRLF. Git on Windows can sometimes automatically convert line endings, which causes errors when running the script inside the Linux-based Docker container. Learn how to configure your environment to maintain LF line endings in [this guide from GitHub](https://docs.github.com/en/get-started/git-basics/configuring-git-to-handle-line-endings). + + + ```shell title="start.sh"