From 49b54bba43fe68e449b277cb87228b68e6ff0e26 Mon Sep 17 00:00:00 2001 From: aaron <> Date: Fri, 21 Mar 2025 19:00:35 +0800 Subject: [PATCH] update --- .env => .env.dev | 0 Dockerfile | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) rename .env => .env.dev (100%) diff --git a/.env b/.env.dev similarity index 100% rename from .env rename to .env.dev diff --git a/Dockerfile b/Dockerfile index 43a1dd6..74b53c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,10 +35,11 @@ WORKDIR /app COPY requirements.txt . COPY app app/ COPY *.py ./ +COPY .env* ./ # 安装Python依赖 RUN pip install -i https://mirrors.aliyun.com/pypi/simple/ -r requirements.txt \ - && pip install -i https://mirrors.aliyun.com/pypi/simple/ uvicorn + && pip install -i https://mirrors.aliyun.com/pypi/simple/ uvicorn python-multipart python-dotenv # 暴露端口 EXPOSE 8000