first commit

This commit is contained in:
“xHuPo” 2024-08-29 11:43:48 +08:00
parent 8e58e24d2e
commit 973c47ff25
16 changed files with 866 additions and 0 deletions

12
Dockerfile Normal file
View file

@ -0,0 +1,12 @@
# syntax=docker/dockerfile:1
FROM python:3.10-slim-buster
WORKDIR /app
COPY requirements.txt ./
RUN --mount=type=cache,target=/root/.cache/pip \
pip install -r requirements.txt --no-cache-dir
COPY . .
CMD [ "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8003" ]