修改requirement里面的依赖的版本
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
mingsheng.li 2025-07-25 13:48:15 +08:00
parent 5451fd7aac
commit 107f2956c9

View File

@ -15,8 +15,8 @@ WORKDIR /app
# 复制依赖文件并安装
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
#RUN --mount=type=cache,target=/root/.cache/pip pip install --no-cache-dir -r requirements.txt
RUN --mount=type=cache,target=/root/.cache/pip pip install --no-warn-script-location --user --default-timeout 90 -r requirements.txt
# 复制应用代码
COPY . .