first commit

This commit is contained in:
2026-05-18 19:15:44 +08:00
commit a6a76b4d2b
4 changed files with 148 additions and 0 deletions

7
py/Dockerfile Normal file
View File

@@ -0,0 +1,7 @@
FROM python:3.10-slim
WORKDIR /app
COPY py/requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
COPY py/ ./
EXPOSE 8000
CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "8000"]