mirror of
https://github.com/status-im/cabot.git
synced 2025-02-22 17:38:06 +00:00
36 lines
642 B
Docker
36 lines
642 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 ./
|
||
|
RUN pip install --no-cache-dir -r requirements.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"]
|