支持ghcproxy

This commit is contained in:
yhydev
2026-01-12 14:12:15 +08:00
parent 03e216373f
commit 9b0c32b6f2
6 changed files with 302 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
FROM python:3.11-slim
FROM hub.rat.dev/library/python:3.10-alpine
WORKDIR /app
@@ -8,4 +8,4 @@ RUN pip install --no-cache-dir -i https://pypi.tuna.tsinghua.edu.cn/simple -r re
COPY . .
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
CMD ["uvicorn", "app.ghcproxy:app", "--host", "0.0.0.0", "--port", "8000"]