Flask unable to start server using Docker due to ModuleNotFoundError: No module named 'wsgi'
- 阅读更多 关于 Flask unable to start server using Docker due to ModuleNotFoundError: No module named 'wsgi'
问题 I now deploy my Flask app using Nginx and Docker. My docker is up and running,but I always get 502 Bad Gateway nginx when going one of the endpoint. So I remove all docker and build it again,then I getting this error,when running docker-compose up -d : [2020-03-09 15:00:11 +0000] [1] [INFO] Starting gunicorn 19.7.1 flask | [2020-03-09 15:00:11 +0000] [1] [INFO] Listening at: http://0.0.0.0:5000 (1) flask | [2020-03-09 15:00:11 +0000] [1] [INFO] Using worker: sync flask | [2020-03-09 15:00:11