Просмотр исходного кода

Merge branch 'dev_david' of anweiguo/algorithm_platform into dev_awg

liudawei 2 месяцев назад
Родитель
Сommit
8ba13b0d4b
2 измененных файлов с 6 добавлено и 9 удалено
  1. 1 1
      Dockerfile
  2. 5 8
      requirements.txt

+ 1 - 1
Dockerfile

@@ -1,6 +1,5 @@
 
 FROM ubuntu:latest
-
 # 安装 tzdata 包并设置时区
 RUN apt-get update && apt-get install -y tzdata
 ENV TZ=Asia/Shanghai
@@ -8,6 +7,7 @@ RUN ln -fsn /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
 
 # 使用官方 Python 镜像作为基础镜像
 FROM 192.168.1.36:5000/python:3.12
+
 ENV LANG=en_US.UTF-8
 # 设置工作目录
 WORKDIR /app

+ 5 - 8
requirements.txt

@@ -1,20 +1,17 @@
 pymongo==4.7.3
-pandas==1.3.5
+pandas==2.2.3
 SQLAlchemy==1.4.46
 PyMySQL==1.1.1
 Flask==2.2.5
 waitress==2.1.2
-numpy==1.19.5
-matplotlib==3.5.3
 requests==2.31.0
-numpy== 1.19.5
-scikit-learn== 1.0.2
+numpy== 1.26.2
+scikit-learn== 1.6.1
 plotly==5.18.0
 lightgbm==4.5.0
 joblib==1.3.2
-tensorflow==2.2.0
-matplotlib==3.5.3
-Keras==2.3.1
+tensorflow==2.16.1
+matplotlib==3.10.0
 protobuf==3.20.3
 APScheduler==3.10.4
 paramiko==3.5.0