-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathDockerfile
52 lines (44 loc) · 1.47 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
FROM python:2.7.8-wheezy
MAINTAINER Tyler Rivera "[email protected]"
RUN apt-get update -qq --fix-missing
RUN apt-get install -y\
build-essential\
git-core\
libldap2-dev\
libpq-dev\
libsasl2-dev\
libssl-dev\
libxml2-dev\
libxslt1-dev\
libffi-dev\
openssl\
python-dev\
python-setuptools\
wget\
zlib1g-dev\
postgresql-client
RUN pip install "Django>=1.6,<1.7"
RUN pip install "south==1.0.1"
RUN pip install "git+git://github.com/joke2k/django-environ.git@e91c4f9cc65ffaf39c149a30e61340e0c0d1ab76"
RUN pip install "django-session-security==2.2.1"
RUN pip install "django-markdown-deux==1.0.5"
RUN pip install "djangorestframework==3.1.1"
RUN pip install "djangorestframework-jwt==1.5.0"
RUN pip install "git+https://github.com/chop-dbhi/ehb-client.git"
RUN pip install "git+https://github.com/chop-dbhi/ehb-datasources.git@fe6e74164e1e13b0042de69bcb90024104f23447"
RUN pip install "psycopg2==2.5.4"
RUN pip install "python-ldap==2.4.19"
RUN pip install "django-siteauth==0.9b1"
RUN pip install "git+https://github.com/bruth/django-registration2.git#egg=django-registration2"
RUN pip install "markdown2==2.3.0"
RUN pip install "raven==5.0.0"
RUN pip install "django-redis==4.2.0"
RUN pip install uWSGI
RUN pip install "django-nose==1.4.2"
ENV APP_ENV test
ADD . /opt/app
ADD test.env_example /opt/app/test.env
# Ensure all python requirements are met
RUN pip install -r /opt/app/requirements.txt
CMD ["/opt/app/scripts/run.sh"]
EXPOSE 8000