前提 win10中安装docker,参考 https://docker.easydoc.net/doc/81170005/cCewZWoN/lTKfePfP 1、python项目 test2.py # 载入包 import uvicorn # from settings import * from fastapi import FastAPI from fastapi.responses import JSONResponseapp = FastAPI() @app.api_route(