It builds. Needs testing
This commit is contained in:
@ -4,9 +4,11 @@ MAINTAINER tanshu
|
||||
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
|
||||
RUN git clone http://git.tanshu.com/tanshu/brewman.git \
|
||||
RUN git clone --depth=1 http://git.tanshu.com/tanshu/brewman.git \
|
||||
&& pip install -r brewman/requirements.txt
|
||||
|
||||
WORKDIR /brewman
|
||||
|
||||
CMD /usr/local/bin/pserver /brewman/container.ini
|
||||
RUN python setup.py install
|
||||
|
||||
CMD /usr/local/bin/pserve /brewman/container.ini
|
||||
|
||||
15
web/Dockerfile.local
Normal file
15
web/Dockerfile.local
Normal file
@ -0,0 +1,15 @@
|
||||
FROM python:3
|
||||
|
||||
MAINTAINER tanshu
|
||||
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
|
||||
COPY src /brewman
|
||||
|
||||
WORKDIR /brewman
|
||||
|
||||
RUN pip install -r requirements.txt
|
||||
RUN python setup.py install
|
||||
|
||||
CMD /usr/local/bin/pserve /brewman/container.ini
|
||||
|
||||
Reference in New Issue
Block a user