Skip to content

Commit

Permalink
升级docker,安装OpenCV和Pillow
Browse files Browse the repository at this point in the history
  • Loading branch information
xianhu committed Apr 30, 2020
1 parent 7613b5f commit efd71d8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
7 changes: 5 additions & 2 deletions Docker/Dockerfile
@@ -1,7 +1,7 @@
# Dockerfile by xianhu: build a docker image
# centos6:
# docker build -t user/centos:v6.10.2 .
# docker run -it --name test [-p -v] user/centos:v6.10.2
# docker build -t user/centos:v6.10.3 .
# docker run -it --name test [-p -v] user/centos:v6.10.3
# docker attach test
# centos7:
# docker build -t user/centos:v7.0.1 .
Expand Down Expand Up @@ -36,6 +36,9 @@ RUN yum install -y crontabs
RUN yum install -y zlib-devel
RUN yum install -y sqlite-devel
RUN yum install -y openssl-devel
RUN yum install -y libSM.x86_64
RUN yum install -y libXrender.x86_64
RUN yum install -y libXext.x86_64

# install python
RUN yum install -y https://centos6.iuscommunity.org/ius-release.rpm
Expand Down
18 changes: 14 additions & 4 deletions Docker/requirements.txt
@@ -1,17 +1,21 @@
virtualenv
pylint
virtualenv

lxml
html5lib
xmltodict
pybloom_live
fake-useragent
beautifulsoup4

aiohttp
requests
websocket-client

redis
PyMySQL
elasticsearch

Flask
Flask-WTF
Flask-Mail
Expand All @@ -23,17 +27,23 @@ Flask-Migrate
Flask-HTTPAuth
Flask-Bootstrap
Flask-SQLAlchemy

dash
dash-table
dash-core-components
dash-html-components
dash-bootstrap-components
gunicorn

uWSGI
gunicorn

numpy
scipy
pandas
scikit-learn
matplotlib
plotly
jupyter
matplotlib
scikit-learn

Pillow
opencv-python

0 comments on commit efd71d8

Please sign in to comment.