- 将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运行服务
10 lines
213 B
TOML
10 lines
213 B
TOML
[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
|