diff service/mqtt_graph_bridge/Dockerfile @ 1178:e3991af5bd39

receive oneshot updates from reasoning; emit commands on MQTT to control H801 wifi dimmer Ignore-this: 3b180d528a9bd7f2f330e565311013d6 darcs-hash:ac3b164fbf124a1569f147e677b952c23043144b
author drewp <drewp@bigasterisk.com>
date Sat, 08 Dec 2018 01:48:37 -0800
parents
children 30022797642e
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/service/mqtt_graph_bridge/Dockerfile	Sat Dec 08 01:48:37 2018 -0800
@@ -0,0 +1,12 @@
+FROM bang6:5000/base_x86
+
+WORKDIR /opt
+
+COPY requirements.txt ./
+RUN pip install -r requirements.txt
+
+COPY *.py *.html *.css *.js ./
+
+EXPOSE 10008:10008
+
+CMD [ "python", "./mqtt_graph_bridge.py", "-v" ]