diff service/mqtt_graph_bridge/Dockerfile @ 581:30022797642e

mqtt_graph_bridge to new build rules and to py3 Ignore-this: 1a064e89a2016ed583c1d4c9bbfd6f7c
author drewp@bigasterisk.com
date Thu, 09 May 2019 22:31:04 -0700
parents 2158e7ad19b1
children
line wrap: on
line diff
--- a/service/mqtt_graph_bridge/Dockerfile	Wed May 08 00:56:54 2019 -0700
+++ b/service/mqtt_graph_bridge/Dockerfile	Thu May 09 22:31:04 2019 -0700
@@ -3,10 +3,11 @@
 WORKDIR /opt
 
 COPY requirements.txt ./
-RUN pip install -r requirements.txt
+RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt
+RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3'
 
 COPY *.py *.html *.css *.js ./
 
-EXPOSE 10008:10008
+EXPOSE 10011:10011
 
-CMD [ "python", "./mqtt_graph_bridge.py", "-v" ]
+CMD [ "python3", "./mqtt_graph_bridge.py" ]