update dockerfile

master
xianhu 2017-11-17 18:35:59 +08:00
parent 43b3fd2ead
commit 5ce9e45f59
2 changed files with 6 additions and 3 deletions

View File

@ -23,6 +23,7 @@ RUN yum install -y wget
RUN yum install -y screen
RUN yum install -y crontabs
RUN yum install -y zlib-devel
RUN yum install -y sqlite-devel
RUN yum install -y openssl-devel
# install nginx
@ -37,11 +38,11 @@ RUN service crond restart
# download python3
WORKDIR /root/
RUN wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tar.xz
RUN tar -xf Python-3.6.1.tar.xz
RUN wget https://www.python.org/ftp/python/3.5.4/Python-3.5.4.tar.xz
RUN tar -xf Python-3.5.4.tar.xz
# install python3
WORKDIR /root/Python-3.6.1
WORKDIR /root/Python-3.5.4
RUN ./configure
RUN make install
RUN make clean

View File

@ -23,3 +23,5 @@ Flask-Bootstrap
Flask-SQLAlchemy
gunicorn
uWSGI
jupyter
tensorflow