feat(deploy-control): 使用uv包管理器替换Python基础镜像
- 将Dockerfile的基础镜像从python:3.11-slim更换为ghcr.io/astral-sh/uv:python3.11-bookworm-slim - 添加pyproject.toml和uv.lock文件到容器中 - 使用uv sync命令进行依赖安装 - 将启动命令从"python /app/server.py"改为"uv run --frozen server.py" - 更新README.md中的启动命令说明,使用uv run替代python3运行服务
This commit is contained in:
9
deploy-control/pyproject.toml
Normal file
9
deploy-control/pyproject.toml
Normal file
@ -0,0 +1,9 @@
|
||||
[project]
|
||||
name = "deploy-control"
|
||||
version = "0.1.0"
|
||||
description = "Deployment control service for instance registration and routing refresh"
|
||||
requires-python = ">=3.11"
|
||||
dependencies = []
|
||||
|
||||
[tool.uv]
|
||||
package = false
|
||||
Reference in New Issue
Block a user