Django Recipe App Api 安装 docker build . docker-compose build 在Docker内部运行命令 docker-compose run app sh -c " python manage.py whatever " 运行单元测试 docker-compose run app sh -c " python manage.py test " 启动服务器 docker-compose up