Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

Commit

Permalink
修改 Dockerfile 增加 sklearn 学习。
Browse files Browse the repository at this point in the history
  • Loading branch information
yhy committed Sep 24, 2021
1 parent a8cba76 commit 695b004
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ RUN mkdir -p /etc/vim/ && \
# 安装 nodejs 库
# apt-get autoremove -y 删除没有用的依赖lib。减少镜像大小。1MB 也要节省。
# apt-get --purge remove 软件包名称 , 删除已安装包(不保留配置文件)。
RUN apt-get update && apt-get install -y procps gcc make python3-dev default-libmysqlclient-dev libxml2-dev cron && \
RUN apt-get update && apt-get install -y net-tools procps gcc make python3-dev default-libmysqlclient-dev libxml2-dev cron && \
pip3 install mysqlclient sqlalchemy && \
pip3 install supervisor && \
pip3 install numpy pandas && \
pip3 install akshare --upgrade && \
apt-get install -y nodejs && \
pip3 install tornado torndb && \
pip3 install bokeh stockstats && \
pip3 install bokeh stockstats sklearn && \
apt-get --purge remove -y gcc make python3-dev default-libmysqlclient-dev libxml2-dev && \
rm -rf /root/.cache/* && apt-get clean && apt-get autoremove -y

Expand Down

0 comments on commit 695b004

Please sign in to comment.