1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-06-03 01:28:06 +02:00

Continue to tweak Dockerfile

This commit is contained in:
smacz 2019-03-25 22:52:00 -04:00
parent 969237ca30
commit ebe862ccdb

View File

@ -1,7 +1,8 @@
FROM ubuntu:16.04
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
ADD . /opt/
WORKDIR "/opt"
RUN apt update && apt install -y python-dev python-pip libldap2-dev libsasl2-dev libssl-dev && pip install -e /opt/ -r /opt/requirements.txt && pip install pycodestyle passlib coveralls && /usr/bin/python2 /opt/setup.py install
VOLUME /etc/ldapcherry
EXPOSE 80