Initial commit for docker build

This commit is contained in:
smacz 2019-03-25 21:28:31 -04:00
parent 5aa2fe9359
commit 969237ca30
3 changed files with 6 additions and 3 deletions

2
.dockerignore Normal file
View File

@ -0,0 +1,2 @@
tests/
run_test.sh

View File

@ -1,6 +1,7 @@
FROM ubuntu
FROM ubuntu:16.04
RUN python setup.py
ADD . .
RUN apt update && apt install -y python3 python3-pip && pip3 install -e . -r requirements.txt && pip3 install pycodestyle passlib coveralls && /usr/bin/python3 setup.py
VOLUME /etc/ldapcherry
EXPOSE 80

View File

@ -26,7 +26,7 @@ Nice and simple application to manage users and groups in multiple directory ser
:Dev: `LdapCherry source code on GitHub <https://github.com/kakwa/ldapcherry>`_
:PyPI: `LdapCherry package on Pypi <http://pypi.python.org/pypi/ldapcherry>`_
:License: MIT
:Author: Pierre-Francois Carpentier - copyright © 2016
:Author: Pierre-Francois Carpentier - copyright 2016
----