mirror of https://github.com/status-im/cabot.git
43 lines
827 B
Docker
43 lines
827 B
Docker
FROM node:12-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 https://registry.npmjs.org/ \
|
|
coffeescript \
|
|
less@1.3
|
|
|
|
RUN pip install --upgrade pip==20.3.4
|
|
|
|
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"]
|