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

wsgiserver_1 | /usr/bin/env: 'bash\r': No such file or directory #18

Open
ebrahimnorouzi opened this issue Jun 2, 2021 · 1 comment

Comments

@ebrahimnorouzi
Copy link

I got this error, Do you know how can I fix it?

docker-compose up
Docker Compose is now in the Docker CLI, try `docker compose up`

Creating network "my_ml_service_default" with the default driver
Creating volume "my_ml_service_static_volume" with default driver
Creating my_ml_service_wsgiserver_1 ... done
Creating my_ml_service_nginx_1      ... done
Attaching to my_ml_service_wsgiserver_1, my_ml_service_nginx_1
wsgiserver_1  | /usr/bin/env: 'bash\r': No such file or directory
my_ml_service_wsgiserver_1 exited with code 127
nginx_1       | 2021/06/02 16:53:32 [emerg] 1#1: host not found in upstream "wsgiserver" in /etc/nginx/conf.d/default.conf:17
nginx_1       | nginx: [emerg] host not found in upstream "wsgiserver" in /etc/nginx/conf.d/default.conf:17
@pplonski
Copy link
Owner

pplonski commented Jun 4, 2021

hey @ebrahimnorouzi! Did you make any changes to the docker code? Do you add execution privileges to wsgi-entrypoint.sh?

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

2 participants