完善 aiosqlite 异步数据库驱动

This commit is contained in:
lan-air
2022-12-11 18:03:46 +08:00
parent e5d18a5bf3
commit b999073da4
3 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -1,13 +1,13 @@
FROM python:3.9.5
LABEL author="Lan"
LABEL email="vast@tom.com"
LABEL version="1.0"
LABEL version="1.4.2"
COPY . /app
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo 'Asia/Shanghai' >/etc/timezone
WORKDIR /app
RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/
RUN pip install -r requirements.txt
EXPOSE 12345
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "12345"]