Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
xianhu committed Nov 17, 2017

Verified

This commit was signed with the committer’s verified signature.
turadg Turadg Aleahmad
1 parent 43b3fd2 commit 5ce9e45
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions Docker/requirements.txt
Original file line number Diff line number Diff line change
@@ -23,3 +23,5 @@ Flask-Bootstrap
Flask-SQLAlchemy
gunicorn
uWSGI
jupyter
tensorflow

0 comments on commit 5ce9e45

Please sign in to comment.