Dockerfile 414 Bytes
Newer Older
1
2
FROM python:2.7
ENV PYTHONUNBUFFERED 1
mdsecurity's avatar
mdsecurity committed
3
# HEALTHCHECK CMD curl --fail http://localhost:8000/ || exit 1
4
5
6
RUN mkdir /go
WORKDIR /go
ADD requirements.txt /go/
mdsecurity's avatar
mdsecurity committed
7

8
9
10
11
12
RUN apt-get update
RUN apt-get install git-all -y
RUN apt-get install python2.7-dev -y
RUN apt-get install libsasl2-dev -y
RUN apt-get install libldap2-dev -y
mdsecurity's avatar
mdsecurity committed
13
14
RUN apt-get install netcat -y

15
16
17
RUN apt-get install 
RUN pip install -r requirements.txt
ADD . /go/
18