我使用 bitbucket 在 azure 函数中部署了我的 Falcon 应用程序。但我看不到函数应用程序中的任何文件。我还尝试将 repo 拉到 azure 函数文件夹,但这也不起作用,因为我的路由没有按预期工作。我在我的应用程序中使用 MVC 架构。我的 run.py 看起来像
import falcon
from wsgiref import simple_server
from project.routes import *
if __name__ == "__main__":
host = '127.0.0.1'
port = 5000
httpd = simple_server.make_server(host, port, app)
print("Serving on %s:%s" % (host, port))
httpd.serve_forever()
有什么方法可以按原样部署我的应用程序,或者我应该更改结构。