mirror of https://github.com/status-im/cabot.git
37 lines
675 B
Docker
37 lines
675 B
Docker
FROM python:2.7
|
|
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
RUN mkdir /code
|
|
|
|
WORKDIR /code
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
python-dev \
|
|
libsasl2-dev \
|
|
libldap2-dev \
|
|
libpq-dev \
|
|
npm
|
|
|
|
RUN npm install -g \
|
|
--registry http://registry.npmjs.org/ \
|
|
coffee-script \
|
|
less@1.3
|
|
|
|
RUN ln -s `which nodejs` /usr/bin/node
|
|
|
|
RUN pip install --upgrade pip
|
|
|
|
COPY 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
|
|
|
|
RUN pip install ipdb
|
|
|
|
ADD . /code/
|
|
|
|
ENTRYPOINT ["./docker-entrypoint.sh"]
|