view service/dhcpleases/Dockerfile @ 1426:c3c2418d138c

fix pushconfig host lookup Ignore-this: d53a114fdfb3bd3bf355a0c7293a1c7b darcs-hash:6306237a7df35fffb57f27c31a971107608f979e
author drewp <drewp@bigasterisk.com>
date Wed, 07 Aug 2019 21:06:46 -0700
parents 73c2b13692b7
children
line wrap: on
line source

FROM bang6:5000/base_x86

WORKDIR /opt

COPY requirements.txt ./

RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt
# not sure why this doesn't work from inside requirements.txt
RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3'

COPY *.py *.html ./

EXPOSE 9073

CMD [ "python3", "dhcpleases.py" ]