diff service/piNode/Dockerfile @ 1355:f2159312b0e7

update build and deps to use invoke and to use new lib layout, plus more stats collection Ignore-this: 78f09ba8a1898fd5f79cfc260cd36185 darcs-hash:500de704f71e24aafeb0b6ecf750a7c9f3f2a513
author drewp <drewp@bigasterisk.com>
date Thu, 25 Apr 2019 23:38:47 -0700
parents 10c409c44b3f
children 69a84b3d1dfa
line wrap: on
line diff
--- a/service/piNode/Dockerfile	Thu Apr 25 23:36:44 2019 -0700
+++ b/service/piNode/Dockerfile	Thu Apr 25 23:38:47 2019 -0700
@@ -3,15 +3,15 @@
 # super slow build
 RUN pip install grpcio==1.18.0
 
+WORKDIR /opt
+
 COPY requirements.txt ./
 
-RUN pip install -r requirements.txt
+RUN pip install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt
 
-ADD https://projects.bigasterisk.com/rdfdb/more.tgz ./
-RUN tar xvzf more.tgz
-
-ADD https://projects.bigasterisk.com/rdfdb/more2.tgz ./
-RUN tar xvzf more2.tgz
+# when we go to py3:
+## not sure why this doesn't work from inside requirements.txt
+#RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3'
 
 COPY *.py ./
 COPY config/ ./config/