现在我使用Nginx和Docker部署了我的Flask应用程序。我的码头已经启动并运行,但是当我运行一个端点时,我总是会得到502 Bad Gateway nginx。因此,我删除所有的停靠程序并重新构建它,然后在运行docker-compose up -d时得到这个错误:flask | self.wsgi =
我创建了一个多级Docker映像,以缩小我的python应用程序的大小。working directory and the standard command (run it detached)ENTRYPOINT ["python"]然后,我将图像my_image推到我的项目my_proj的Google中:当我