mirror of https://github.com/status-im/cabot.git
39 lines
730 B
Docker
39 lines
730 B
Docker
FROM node:4-alpine
|
|
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
RUN mkdir /code
|
|
|
|
WORKDIR /code
|
|
|
|
RUN apk add --no-cache \
|
|
python-dev \
|
|
py-pip \
|
|
postgresql-dev \
|
|
gcc \
|
|
musl-dev \
|
|
libffi-dev \
|
|
openldap-dev \
|
|
ca-certificates \
|
|
bash
|
|
|
|
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"]
|