Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/usr/bin/env: ‘bash\r’: No such file or directory when starting for the first time only #25

Open
dannykellett opened this issue May 3, 2024 · 2 comments

Comments

@dannykellett
Copy link

Followed the readme with first time only
After running docker compose, the app container exists with just this one line in the log

2024-05-03 15:18:43 /usr/bin/env: ‘bash\r’: No such file or directory

@G0tem
Copy link

G0tem commented May 20, 2024

plus...
/usr/bin/env: ‘bash\r’: No such file or directory

@jinergenkai
Copy link

jinergenkai commented Jun 8, 2024

plus... /usr/bin/env: ‘bash\r’: No such file or directory

to fix this on windows, clone the repo like this:
git clone https://github.com/zhanymkanov/fastapi_production_template --config core.autocrlf=input

because the end of file on windows is \r, linux is \r\n. so it fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants