删除 Dockerfile 中的临时文件复制指令

This commit is contained in:
2026-04-03 14:53:55 +08:00
parent 93cbd7e7b3
commit 6b09c6b20d
-1
View File
@@ -14,7 +14,6 @@ RUN uv pip install --system --no-cache-dir -r requirements.txt
# 这样临时文件默认会生成在 /app 下,而代码在 /app/app 下,实现了分离
COPY app ./app
COPY db_inp ./db_inp
COPY temp ./temp
COPY .env .
# 设置 PYTHONPATH 以便 uvicorn 找到 app 模块