From c7c493eecbe27f2c09d9c49e286874b86eba280a Mon Sep 17 00:00:00 2001 From: ddaodan <40017293+ddaodan@users.noreply.github.com> Date: Thu, 29 Aug 2024 11:19:18 +0800 Subject: [PATCH] Update Dockerfile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit nb-cli现在要求最低python3.9了 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 581f17e4..a415c57d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM tiangolo/uvicorn-gunicorn-fastapi:python3.8 +FROM tiangolo/uvicorn-gunicorn-fastapi:python3.10 RUN python3 -m pip config set global.index-url https://mirrors.aliyun.com/pypi/simple @@ -6,4 +6,4 @@ COPY . /app/ RUN python3 -m pip install -r requirements.txt -CMD nb run \ No newline at end of file +CMD nb run