feat:支持纯离线部署

This commit is contained in:
2026-03-04 16:04:19 +08:00
parent bafae32c76
commit 663999f173
3 changed files with 82 additions and 6 deletions

View File

@@ -6,5 +6,4 @@ RUN pip install --no-cache-dir --prefix=/install -r requirements.txt
FROM python:3.13-slim-bookworm
WORKDIR /app
COPY --from=builder /install /usr/local
COPY app/ ./app/
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7000", "--workers", "4"]