Skip to content

Commit 695b004

Browse files
author
yhy
committed
修改 Dockerfile 增加 sklearn 学习。
1 parent a8cba76 commit 695b004

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ RUN mkdir -p /etc/vim/ && \
4444
# 安装 nodejs 库
4545
# apt-get autoremove -y 删除没有用的依赖lib。减少镜像大小。1MB 也要节省。
4646
# apt-get --purge remove 软件包名称 , 删除已安装包(不保留配置文件)。
47-
RUN apt-get update && apt-get install -y procps gcc make python3-dev default-libmysqlclient-dev libxml2-dev cron && \
47+
RUN apt-get update && apt-get install -y net-tools procps gcc make python3-dev default-libmysqlclient-dev libxml2-dev cron && \
4848
pip3 install mysqlclient sqlalchemy && \
4949
pip3 install supervisor && \
5050
pip3 install numpy pandas && \
5151
pip3 install akshare --upgrade && \
5252
apt-get install -y nodejs && \
5353
pip3 install tornado torndb && \
54-
pip3 install bokeh stockstats && \
54+
pip3 install bokeh stockstats sklearn && \
5555
apt-get --purge remove -y gcc make python3-dev default-libmysqlclient-dev libxml2-dev && \
5656
rm -rf /root/.cache/* && apt-get clean && apt-get autoremove -y
5757

0 commit comments

Comments
 (0)