forked from 418sec/cabot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
42 lines (31 loc) · 818 Bytes
/
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
FROM node:4-alpine
ENV PYTHONUNBUFFERED 1
RUN mkdir /code
WORKDIR /code
RUN apk add --no-cache \
python-dev \
py-pip \
postgresql-dev \
gcc \
curl \
curl-dev \
libcurl \
musl-dev \
libffi-dev \
openldap-dev \
ca-certificates \
bash
RUN npm config set unsafe-perm true
RUN npm install -g \
--registry http://registry.npmjs.org/ \
coffee-script \
less@1.3
RUN pip install --upgrade pip
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY requirements-dev.txt ./
RUN pip install --no-cache-dir -r requirements-dev.txt
COPY requirements-plugins.txt ./
RUN pip install --no-cache-dir -r requirements-plugins.txt
ADD . /code/
ENTRYPOINT ["./docker-entrypoint.sh"]