2016-01-30 04:25:16 +00:00
|
|
|
FROM python:3
|
|
|
|
|
|
|
|
MAINTAINER tanshu
|
|
|
|
|
|
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
|
2016-01-31 08:33:28 +00:00
|
|
|
RUN git clone --depth=1 http://git.tanshu.com/tanshu/brewman.git \
|
2016-01-30 04:25:16 +00:00
|
|
|
&& pip install -r brewman/requirements.txt
|
2016-01-30 04:59:32 +00:00
|
|
|
|
|
|
|
WORKDIR /brewman
|
|
|
|
|
2016-01-31 08:33:28 +00:00
|
|
|
RUN python setup.py install
|
|
|
|
|
|
|
|
CMD /usr/local/bin/pserve /brewman/container.ini
|