2019-06-04 08:21:52 -07:00
|
|
|
FROM python:3.7
|
2017-04-29 02:28:06 +10:00
|
|
|
RUN apt-get update
|
2019-05-03 13:49:02 +05:30
|
|
|
RUN apt-get install -y make software-properties-common curl
|
2017-04-29 02:28:06 +10: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-07-31 17:54:18 -07:00
|
|
|
RUN pip install pip==20.0.2
|
2017-04-29 02:28:06 +10: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]"
|