-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile_web
36 lines (27 loc) · 1.03 KB
/
Dockerfile_web
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
FROM python:3.5
MAINTAINER [email protected]
ENV PYTHONUNBUFFERED 1
ENV http_proxy http://proxy.pfr.co.nz:8080
ENV https_proxy http://proxy.pfr.co.nz:8080
ENV no_proxy localhost,127.0.0.1,*.pfr.co.nz,::1
RUN apt-get update -y; \
apt-get upgrade -y; \
apt-get install -y wget vim postgresql-client-9.4 r-base;
RUN mkdir /code
WORKDIR /code
ADD tt.txt /code/requirements.txt
RUN pip install --upgrade pip;\
pip install numpy; \
pip install Cython; \
pip install auxlib
RUN pip install -r requirements.txt
RUN pip install mongoengine
RUN pip install raven django_pdb django_tables2_reports django_tables2
RUN pip install treebeard django_crispy_forms
RUN pip install djorm_ext_pgfulltext
RUN pip install git+https://github.com/MongoEngine/django-mongoengine
RUN pip install async restless
RUN pip install django_inplaceedit jsonfield django_treebeard django_countries
RUN pip install djangorestframework querystring_parser django-leaflet DjangoRestless
RUN pip install django_rest_framework_mongoengine
ADD ./ ./