frappe_docker/docs/07-troubleshooting/02-windows-nginx-entrypoint-error.md
adithya 477376edc4 refactor: Moved md files back to docs
Refactor can be considered later if needed.
2026-03-15 18:47:35 +05:30

582 B

title
NGINX in Windows

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/core/nginx/nginx-entrypoint.sh