-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.dockerfile
More file actions
30 lines (23 loc) · 840 Bytes
/
.dockerfile
File metadata and controls
30 lines (23 loc) · 840 Bytes
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
FROM python:3.4.3
ENV PYTHONUNBUFFERED 1
ENV PYTHONDONTWRITEBYTECODE 1
ENV LANG en_US.UTF-8
ENV PYTHONIOENCODING utf_8
RUN mkdir /usr/src/app
ADD . /usr/src/app
RUN apt-get update -y
RUN apt-get install -y build-essential python python-dev python-setuptools libpq-dev libjpeg-dev libtiff-dev zlib1g-dev libfreetype6-dev liblcms2-dev python-opencv python-numpy
WORKDIR /usr/src/app/wagtaildemo
RUN pip install -r requirements.txt
WORKDIR /usr/src/app/wagtail
RUN python setup.py develop
RUN pip install -r requirements-dev.txt
RUN pip install embedly elasticsearch django-sendfile
RUN curl -sL https://deb.nodesource.com/setup_4.x | bash -
RUN apt-get install -y nodejs
RUN npm install && npm run build
WORKDIR ../libs/django-modelcluster
RUN python setup.py develop
WORKDIR ../Willow
RUN python setup.py develop
WORKDIR /usr/src/app