2019-06-04 17:21:52 +02:00
|
|
|
FROM python:3.7
|
2017-04-28 18:28:06 +02:00
|
|
|
RUN apt-get update
|
2019-05-03 10:19:02 +02:00
|
|
|
RUN apt-get install -y make software-properties-common curl
|
2017-04-28 18:28:06 +02:00
|
|
|
RUN curl -sL https://deb.nodesource.com/setup_7.x | bash -
|
|
|
|
RUN apt-get update
|
2020-01-13 15:26:35 +01:00
|
|
|
RUN apt-get install -y npm libldap2-dev libsasl2-dev libldap2-dev libssl-dev
|
2020-08-01 02:54:18 +02:00
|
|
|
RUN pip install pip==20.0.2
|
2017-04-28 18:28:06 +02:00
|
|
|
RUN pip install -U setuptools
|
|
|
|
RUN pip install coveralls bandit
|
|
|
|
WORKDIR /app
|
|
|
|
COPY . /app/
|
|
|
|
RUN pip install -e .
|
|
|
|
RUN pip install "file://`pwd`#egg=lemur[dev]"
|
|
|
|
RUN pip install "file://`pwd`#egg=lemur[tests]"
|