diff --git a/README.md b/README.md index 2187dbb2..151da4a8 100644 --- a/README.md +++ b/README.md @@ -120,6 +120,17 @@ docker run -d --name eairp \ wansenai/eairp:latest ``` +### Deployment FAQ + +1. **eairp container /start.sh: no such file or directory** + +This issue is commonly caused by Windows' handling of line endings in text files, which can affect scripts like `start.sh` used in Docker containers. + +Before cloning the repository, configure Git to prevent automatic conversion of line endings. +```bash +git config --global core.autocrlf false +``` + ## License Licensed under either of diff --git a/README_ZH.md b/README_ZH.md index 55d1a7f0..c6ca83a4 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -119,6 +119,16 @@ docker run -d --name eairp \ wansenai/eairp:latest ``` +### 部署常见问题 + +1. **eairp container /start.sh: no such file or directory** + +此问题通常是由 `Windows` 对文本文件中行尾的处理引起的,这可能会影响容器中使用 `start.sh` 脚本。 +在克隆存储库之前,请配置 Git 以防止自动转换行尾。 +```bash +git config --global core.autocrlf false +``` + ## License 根据以下任一许可证之一,对本项目中的代码和文档进行许可: