chore: 在部署docker时安装uvicorn
This commit is contained in:
@@ -16,6 +16,7 @@ COPY pyproject.toml .
|
|||||||
|
|
||||||
# 安装Python依赖
|
# 安装Python依赖
|
||||||
RUN uv sync --locked
|
RUN uv sync --locked
|
||||||
|
RUN pip install uvicorn
|
||||||
|
|
||||||
# 复制应用代码
|
# 复制应用代码
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
Reference in New Issue
Block a user