Files
llmproxy/Dockerfile
Vertex-AI-Step-Builder 03e216373f fix: 修复 Dockerfile 中的启动命令路径
将 CMD 从 'uvicorn main:app' 修改为 'uvicorn app.main:app',
以匹配实际的应用入口文件位置 (app/main.py)。

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-31 16:05:36 +00:00

12 lines
239 B
Docker

FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt
COPY . .
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]