view service/dhcpleases/Dockerfile @ 689:e3eceee54937

introduce capnp, more build, some demos Ignore-this: 29801e9e9f8a85fd0d822207c6eacce1
author drewp@bigasterisk.com
date Thu, 23 Jan 2020 21:00:47 -0800
parents f372e9d358d2
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" ]