Mercurial > code > home > repos > homeauto
annotate service/dhcpleases/Dockerfile @ 1754:92999dfbf321 default tip
add shelly support
author | drewp@bigasterisk.com |
---|---|
date | Tue, 04 Jun 2024 13:03:43 -0700 |
parents | f372e9d358d2 |
children |
rev | line source |
---|---|
531
f372e9d358d2
rewrite dhcpleases to use dnsmasq's data files, and all the new build stuff
drewp@bigasterisk.com
parents:
diff
changeset
|
1 FROM bang6:5000/base_x86 |
f372e9d358d2
rewrite dhcpleases to use dnsmasq's data files, and all the new build stuff
drewp@bigasterisk.com
parents:
diff
changeset
|
2 |
f372e9d358d2
rewrite dhcpleases to use dnsmasq's data files, and all the new build stuff
drewp@bigasterisk.com
parents:
diff
changeset
|
3 WORKDIR /opt |
f372e9d358d2
rewrite dhcpleases to use dnsmasq's data files, and all the new build stuff
drewp@bigasterisk.com
parents:
diff
changeset
|
4 |
f372e9d358d2
rewrite dhcpleases to use dnsmasq's data files, and all the new build stuff
drewp@bigasterisk.com
parents:
diff
changeset
|
5 COPY requirements.txt ./ |
f372e9d358d2
rewrite dhcpleases to use dnsmasq's data files, and all the new build stuff
drewp@bigasterisk.com
parents:
diff
changeset
|
6 |
f372e9d358d2
rewrite dhcpleases to use dnsmasq's data files, and all the new build stuff
drewp@bigasterisk.com
parents:
diff
changeset
|
7 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt |
f372e9d358d2
rewrite dhcpleases to use dnsmasq's data files, and all the new build stuff
drewp@bigasterisk.com
parents:
diff
changeset
|
8 # not sure why this doesn't work from inside requirements.txt |
f372e9d358d2
rewrite dhcpleases to use dnsmasq's data files, and all the new build stuff
drewp@bigasterisk.com
parents:
diff
changeset
|
9 RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3' |
f372e9d358d2
rewrite dhcpleases to use dnsmasq's data files, and all the new build stuff
drewp@bigasterisk.com
parents:
diff
changeset
|
10 |
f372e9d358d2
rewrite dhcpleases to use dnsmasq's data files, and all the new build stuff
drewp@bigasterisk.com
parents:
diff
changeset
|
11 COPY *.py *.html ./ |
f372e9d358d2
rewrite dhcpleases to use dnsmasq's data files, and all the new build stuff
drewp@bigasterisk.com
parents:
diff
changeset
|
12 |
f372e9d358d2
rewrite dhcpleases to use dnsmasq's data files, and all the new build stuff
drewp@bigasterisk.com
parents:
diff
changeset
|
13 EXPOSE 9073 |
f372e9d358d2
rewrite dhcpleases to use dnsmasq's data files, and all the new build stuff
drewp@bigasterisk.com
parents:
diff
changeset
|
14 |
f372e9d358d2
rewrite dhcpleases to use dnsmasq's data files, and all the new build stuff
drewp@bigasterisk.com
parents:
diff
changeset
|
15 CMD [ "python3", "dhcpleases.py" ] |