This commit is contained in:
aaron 2025-10-01 11:17:02 +08:00
parent 95a44deb23
commit 9339b7a558
2 changed files with 6 additions and 2 deletions

View File

@ -25,8 +25,9 @@ RUN apt-get update && apt-get install -y \
# 复制requirements文件
COPY requirements.txt .
# 安装Python依赖
RUN pip install --no-cache-dir -r requirements.txt
# 升级pip并安装Python依赖
RUN pip install --upgrade pip && \
pip install --no-cache-dir -r requirements.txt
# 复制项目文件
COPY . .

View File

@ -18,6 +18,9 @@ scikit-learn>=1.3.0
# Database
PyMySQL>=1.1.0
SQLAlchemy>=2.0.0
pymysql[rsa]>=1.1.0
mysql-connector-python>=8.0.33
cryptography>=41.0.0
# Configuration