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. > > <sup>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).</sup> Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
<Note title="Windows Users">
|
||||
|
||||
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).
|
||||
|
||||
</Note>
|
||||
|
||||
<CodeTabs group="npm2yarn" defaultValue="yarn">
|
||||
<CodeTab value="yarn" label="Yarn">
|
||||
```shell title="start.sh"
|
||||
|
||||
Reference in New Issue
Block a user