init repo & basic func

This commit is contained in:
nash_su
2024-04-05 15:15:41 +08:00
parent 17ef565fe9
commit 68d5c3d7b8
8 changed files with 2859 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
FROM python:3.9.15
WORKDIR /app
COPY requirements.txt /app
RUN pip3 install -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com -r requirements.txt --no-cache-dir
COPY . /app
EXPOSE 8000
ENTRYPOINT ["python3"]
CMD ["server.py"]