spejstore/Dockerfile

11 lines
407 B
Docker
Raw Normal View History

2016-09-29 20:20:10 +00:00
FROM python:3.5
ENV PYTHONUNBUFFERED 1
RUN mkdir /code
WORKDIR /code
2017-02-28 23:16:10 +00:00
RUN apt-get -y update
RUN apt-get -y install libsasl2-dev libldap2-dev libssl-dev
2016-09-29 20:20:10 +00:00
ADD requirements.txt /code/
RUN pip install -r requirements.txt
2017-05-09 23:22:56 +00:00
RUN wget https://github.com/vishnubob/wait-for-it/raw/55c54a5abdfb32637b563b28cc088314b162195e/wait-for-it.sh -O /usr/local/bin/wait-for-it && chmod +x /usr/local/bin/wait-for-it
2016-09-29 20:20:10 +00:00
ADD . /code/