Mercurial > code > home > repos > homeauto
diff service/dhcpleases/Dockerfile @ 531:f372e9d358d2
rewrite dhcpleases to use dnsmasq's data files, and all the new build stuff
Ignore-this: 2dffc17b676253d4fec234fc096db4d5
author | drewp@bigasterisk.com |
---|---|
date | Tue, 23 Apr 2019 02:56:07 -0700 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/service/dhcpleases/Dockerfile Tue Apr 23 02:56:07 2019 -0700 @@ -0,0 +1,15 @@ +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" ]