From cec804951b97bcab81551bb8c7a1a1e1c473aaa7 Mon Sep 17 00:00:00 2001 From: Kyomotoi <1172294279@qq.com> Date: Wed, 7 Oct 2020 13:03:27 +0800 Subject: [Update] --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ae83c30 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM tiangolo/uvicorn-gunicorn-fastapi:python3.8 + +RUN python3 -m pip config set global.index-url https://mirrors.aliyun.com/pypi/simple + +RUN python3 -m pip install poetry && poetry config virtualenvs.create false + +COPY ./pyproject.toml ./poetry.lock* /app/ + +RUN poetry install --no-root --no-dev \ No newline at end of file -- cgit v1.2.3