diff service/wifi/Dockerfile @ 1224:e1202af42d4d

port to py3 Ignore-this: e1a2e6bb730111e76f5a5dd2366d498a darcs-hash:491edbe1604e4024b3c61145a8022caaec25fbd5
author drewp <drewp@bigasterisk.com>
date Sat, 30 Mar 2019 18:27:17 -0700
parents 34de6cfa0b6b
children 7de8f0cd3392
line wrap: on
line diff
--- a/service/wifi/Dockerfile	Sat Mar 30 16:58:08 2019 -0700
+++ b/service/wifi/Dockerfile	Sat Mar 30 18:27:17 2019 -0700
@@ -5,10 +5,12 @@
 RUN apt-get install -y libxml2-dev libxslt1-dev
 
 COPY requirements.txt ./
-RUN pip install -r requirements.txt
+RUN pip3 install -r requirements.txt
+# not sure why this doesn't work from inside requirements.txt
+RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v2'
 
 COPY *.py *.n3 *.json *.html ./
 
 EXPOSE 9070
 
-CMD [ "python", "tomatoWifi.py" ]
+CMD [ "python3", "wifi.py" ]