1
This commit is contained in:
parent
95a44deb23
commit
9339b7a558
@ -25,8 +25,9 @@ RUN apt-get update && apt-get install -y \
|
|||||||
# 复制requirements文件
|
# 复制requirements文件
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
|
|
||||||
# 安装Python依赖
|
# 升级pip并安装Python依赖
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --upgrade pip && \
|
||||||
|
pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
# 复制项目文件
|
# 复制项目文件
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
@ -18,6 +18,9 @@ scikit-learn>=1.3.0
|
|||||||
|
|
||||||
# Database
|
# Database
|
||||||
PyMySQL>=1.1.0
|
PyMySQL>=1.1.0
|
||||||
|
SQLAlchemy>=2.0.0
|
||||||
|
pymysql[rsa]>=1.1.0
|
||||||
|
mysql-connector-python>=8.0.33
|
||||||
cryptography>=41.0.0
|
cryptography>=41.0.0
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user