Mercurial > code > home > repos > homeauto
annotate service/rdf_to_mqtt/Dockerfile @ 778:acf58b83022f
rdf_to_mqtt sylvania bulbs and code cleanup and k8s updates
author | drewp@bigasterisk.com |
---|---|
date | Sat, 08 Aug 2020 13:56:39 -0700 |
parents | 78f699077ff5 |
children | 3f4b447d65f5 |
rev | line source |
---|---|
778
acf58b83022f
rdf_to_mqtt sylvania bulbs and code cleanup and k8s updates
drewp@bigasterisk.com
parents:
761
diff
changeset
|
1 FROM bang5:5000/base_x86 |
373
2158e7ad19b1
receive oneshot updates from reasoning; emit commands on MQTT to control H801 wifi dimmer
drewp@bigasterisk.com
parents:
diff
changeset
|
2 |
2158e7ad19b1
receive oneshot updates from reasoning; emit commands on MQTT to control H801 wifi dimmer
drewp@bigasterisk.com
parents:
diff
changeset
|
3 WORKDIR /opt |
2158e7ad19b1
receive oneshot updates from reasoning; emit commands on MQTT to control H801 wifi dimmer
drewp@bigasterisk.com
parents:
diff
changeset
|
4 |
2158e7ad19b1
receive oneshot updates from reasoning; emit commands on MQTT to control H801 wifi dimmer
drewp@bigasterisk.com
parents:
diff
changeset
|
5 COPY requirements.txt ./ |
581
30022797642e
mqtt_graph_bridge to new build rules and to py3
drewp@bigasterisk.com
parents:
373
diff
changeset
|
6 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt |
30022797642e
mqtt_graph_bridge to new build rules and to py3
drewp@bigasterisk.com
parents:
373
diff
changeset
|
7 RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3' |
778
acf58b83022f
rdf_to_mqtt sylvania bulbs and code cleanup and k8s updates
drewp@bigasterisk.com
parents:
761
diff
changeset
|
8 RUN pip3 install -U attrs |
373
2158e7ad19b1
receive oneshot updates from reasoning; emit commands on MQTT to control H801 wifi dimmer
drewp@bigasterisk.com
parents:
diff
changeset
|
9 |
761 | 10 COPY *.py *.html *.js ./ |
373
2158e7ad19b1
receive oneshot updates from reasoning; emit commands on MQTT to control H801 wifi dimmer
drewp@bigasterisk.com
parents:
diff
changeset
|
11 |
581
30022797642e
mqtt_graph_bridge to new build rules and to py3
drewp@bigasterisk.com
parents:
373
diff
changeset
|
12 EXPOSE 10011:10011 |
373
2158e7ad19b1
receive oneshot updates from reasoning; emit commands on MQTT to control H801 wifi dimmer
drewp@bigasterisk.com
parents:
diff
changeset
|
13 |
778
acf58b83022f
rdf_to_mqtt sylvania bulbs and code cleanup and k8s updates
drewp@bigasterisk.com
parents:
761
diff
changeset
|
14 CMD [ "python3", "./rdf_to_mqtt.py", "-v" ] |