mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-23 00:05:09 +00:00
Fix files according to pre-commit hooks
This commit is contained in:
parent
408203d555
commit
d7617cafed
2 changed files with 4 additions and 1 deletions
|
|
@ -43,6 +43,7 @@ To verify the previous step, decode the APPS_JSON_BASE64 environment variable (w
|
||||||
```shell
|
```shell
|
||||||
echo -n ${APPS_JSON_BASE64} | base64 -d > apps-test-output.json
|
echo -n ${APPS_JSON_BASE64} | base64 -d > apps-test-output.json
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Open the apps-test-output.json file to review the JSON output and ensure that the content is correct.
|
2. Open the apps-test-output.json file to review the JSON output and ensure that the content is correct.
|
||||||
|
|
||||||
Note:
|
Note:
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,10 @@
|
||||||
If you're encountering the error `exec /usr/local/bin/nginx-entrypoint.sh: no such file or directory` in a Docker container on Windows, follow these steps to resolve the issue.
|
If you're encountering the error `exec /usr/local/bin/nginx-entrypoint.sh: no such file or directory` in a Docker container on Windows, follow these steps to resolve the issue.
|
||||||
|
|
||||||
## 1. Check Line Endings
|
## 1. Check Line Endings
|
||||||
|
|
||||||
On Windows, files often have `CRLF` line endings, while Linux systems expect `LF`. This can cause issues when executing shell scripts in Linux containers.
|
On Windows, files often have `CRLF` line endings, while Linux systems expect `LF`. This can cause issues when executing shell scripts in Linux containers.
|
||||||
|
|
||||||
- **Convert Line Endings using `dos2unix`:**
|
- **Convert Line Endings using `dos2unix`:**
|
||||||
```bash
|
```bash
|
||||||
dos2unix resources/nginx-entrypoint.sh
|
dos2unix resources/nginx-entrypoint.sh
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue