From 5451fd7aac103e9bad3b1af35a213b9ef194f7e4 Mon Sep 17 00:00:00 2001 From: "mingsheng.li" Date: Fri, 25 Jul 2025 13:38:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9requirement=E9=87=8C=E9=9D=A2?= =?UTF-8?q?=E7=9A=84=E4=BE=9D=E8=B5=96=E7=9A=84=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 ------ requirements.txt | 12 ++++++++++-- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3147db1..d3ef484 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,12 +13,6 @@ RUN apt-get update && apt-get install -y \ # 设置工作目录 WORKDIR /app -# 在安装依赖前升级 pip -RUN pip install --upgrade pip - -# 先单独安装 numpy -RUN pip install --no-cache-dir "numpy>=1.21.0" - # 复制依赖文件并安装 COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt diff --git a/requirements.txt b/requirements.txt index 6674db6..b300825 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,13 @@ -pandas==1.5.3 +#pandas==1.5.3 +#dbfread==2.0.7 +#psycopg2-binary==2.9.6 +#python-dotenv==1.0.0 +#openpyxl>=3.1.0 + +# requirements.txt +pandas==1.3.5 +numpy==1.20.3 dbfread==2.0.7 psycopg2-binary==2.9.6 python-dotenv==1.0.0 -openpyxl>=3.1.0 \ No newline at end of file +openpyxl==3.0.10 \ No newline at end of file