2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-08 14:21:05 +00:00
frappe_docker/docs/error-nginx-entrypoint-windows.md
Edward Almanzar 10c755fe0c
Enhance Docs for Custom Apps: Base64 Decoding for Testing and Fix 'nginx-entrypoint.sh: No Such File' Issue on Windows only" (#1479)
* Decode the Base64-encoded Environment Variable

* add docs to fix nginx-entrypoint.sh: no such file on windows

* Revert "add docs to fix nginx-entrypoint.sh: no such file on windows"

This reverts commit 395d7cfa3f.

* add docs to fix nginx-entrypoint.sh: no such file on windows

* Fix files according to pre-commit hooks
2024-10-06 17:49:47 +05:30

538 B

Resolving Docker nginx-entrypoint.sh Script Not Found Error on Windows

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

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:
    dos2unix resources/nginx-entrypoint.sh