add backend docker build files
This commit is contained in:
@@ -24,6 +24,13 @@ cd backend
|
||||
uvicorn app.main:app --host 127.0.0.1 --port 9000
|
||||
```
|
||||
|
||||
Docker 构建与运行:
|
||||
|
||||
```powershell
|
||||
docker build -t medical-consultation-agent-backend .
|
||||
docker run --env-file .env -p 9000:9000 medical-consultation-agent-backend
|
||||
```
|
||||
|
||||
## 服务依赖
|
||||
|
||||
MySQL 使用容器或内网服务名 `mysql`:
|
||||
|
||||
Reference in New Issue
Block a user