Skip to content
Snippets Groups Projects
Commit 540dc1e3 authored by Aflitos, Saulo Alves's avatar Aflitos, Saulo Alves
Browse files

move python out of runtime

parent 03a79273
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,8 @@ FROM sauloal/introgressionbrowser_runtime
RUN cd /var/www && git clone https://github.com/sauloal/introgressionbrowser.git ibrowser && ls ibrowser
RUN cd /var/www/ibrowser && pip install --requirement requirements.txt
VOLUME /var/www/ibrowser/data
#VOLUME /var/log/apache2/access.log
#VOLUME /var/log/apache2/error.log
......
......@@ -35,8 +35,8 @@ deb http://'$AMAZON'.clouds.archive.ubuntu.com/ubuntu/ trusty-security main rest
cat /etc/apt/sources.list && \
printenv | sort && \
rm /var/lib/apt/lists/* -rvf && \
mkdir -p /var/lib/apt/lists/partial && \
chmod 755 /var/lib/apt/lists/partial && \
rm -f /var/cache/apt/* -rfv && \
echo "Acquire::http {No-Cache=True;};" > /etc/apt/apt.conf.d/no-cache && \
apt-get update && \
apt-get -y upgrade && \
apt-get install -y -f libapache2-mod-wsgi apache2 nano build-essential \
......@@ -51,8 +51,6 @@ deb http://'$AMAZON'.clouds.archive.ubuntu.com/ubuntu/ trusty-security main rest
mkdir -p /etc/apache2/mods-available/
# apt-get clean all && \
ADD requirements.txt /requirements.txt
RUN pip install --requirement /requirements.txt
# mkdir -p /var/lib/apt/lists/partial && \
# chmod 755 /var/lib/apt/lists/partial && \
flask
ete2
sqlalchemy
Flask-SQLAlchemy
pysha3
pycrypto
pyinotify
##preferably install system wide
#apt-get install -y python-setuptools python-dev python-numpy python-scipy python-matplotlib python-pandas python-sympy python-pip python-imaging
#
##if not, uncomment the following lines
#Pillow
#Image
#numpy
#scipy
#matplotlib
#MySQL-python
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment