Mercurial > code > home > repos > homeauto
annotate service/mqtt_graph_bridge/Dockerfile @ 1419:24e29a15617c
partial style redo. standardize ns setup
Ignore-this: 4b8bb9ecc023b9e42f301241fe1819cc
darcs-hash:10803752665928343398b6845fdcfd3e3b33fb97
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sun, 04 Aug 2019 12:57:03 -0700 |
parents | a29a55f3429c |
children |
rev | line source |
---|---|
1178
e3991af5bd39
receive oneshot updates from reasoning; emit commands on MQTT to control H801 wifi dimmer
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
1 FROM bang6:5000/base_x86 |
e3991af5bd39
receive oneshot updates from reasoning; emit commands on MQTT to control H801 wifi dimmer
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
2 |
e3991af5bd39
receive oneshot updates from reasoning; emit commands on MQTT to control H801 wifi dimmer
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
3 WORKDIR /opt |
e3991af5bd39
receive oneshot updates from reasoning; emit commands on MQTT to control H801 wifi dimmer
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
4 |
e3991af5bd39
receive oneshot updates from reasoning; emit commands on MQTT to control H801 wifi dimmer
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
5 COPY requirements.txt ./ |
1384
a29a55f3429c
mqtt_graph_bridge to new build rules and to py3
drewp <drewp@bigasterisk.com>
parents:
1178
diff
changeset
|
6 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt |
a29a55f3429c
mqtt_graph_bridge to new build rules and to py3
drewp <drewp@bigasterisk.com>
parents:
1178
diff
changeset
|
7 RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3' |
1178
e3991af5bd39
receive oneshot updates from reasoning; emit commands on MQTT to control H801 wifi dimmer
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
8 |
e3991af5bd39
receive oneshot updates from reasoning; emit commands on MQTT to control H801 wifi dimmer
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
9 COPY *.py *.html *.css *.js ./ |
e3991af5bd39
receive oneshot updates from reasoning; emit commands on MQTT to control H801 wifi dimmer
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
10 |
1384
a29a55f3429c
mqtt_graph_bridge to new build rules and to py3
drewp <drewp@bigasterisk.com>
parents:
1178
diff
changeset
|
11 EXPOSE 10011:10011 |
1178
e3991af5bd39
receive oneshot updates from reasoning; emit commands on MQTT to control H801 wifi dimmer
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
12 |
1384
a29a55f3429c
mqtt_graph_bridge to new build rules and to py3
drewp <drewp@bigasterisk.com>
parents:
1178
diff
changeset
|
13 CMD [ "python3", "./mqtt_graph_bridge.py" ] |