Failed to find application object 'app' in 'app' gunicorn

后端 未结 2 889
我在风中等你
我在风中等你 2021-01-22 20:49

I am using a flask microservice with gunicorn to make requests to a service hosted on Google Kubernetes engine. The microservice is dockerised and is hosted as a pod on google k

2条回答
  •  隐瞒了意图╮
    2021-01-22 21:12

    I think the problem might be similar to this one. https://stackoverflow.com/a/50157417/4229159

    The app folder (the one you create in docker) and the app file have the same name. Could you try it again renaming one of them?

    The rest of the files look ok, and it seems only to be a problem of gunicorn

提交回复
热议问题