Skip to content

Commit 038e765

Browse files
committed
Update Dockerfile
1 parent 127ecfa commit 038e765

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ COPY pyproject.toml uv.lock ./
1212

1313
# 导出依赖并安装到系统路径(或使用虚拟环境)
1414
# --system 标志允许直接安装在镜像的 Python 环境中,适合容器场景
15-
RUN uv sync --frozen --no-dev --system
15+
RUN uv sync --frozen --no-dev
1616

1717
# 最终镜像
1818
FROM python:3.11-slim-bookworm
@@ -30,4 +30,4 @@ COPY . .
3030
EXPOSE 8000
3131

3232
# 启动命令
33-
CMD ["python", "main.py"]
33+
CMD ["python", "tests/mock_server.py"]

0 commit comments

Comments
 (0)