diff service/dpms/Dockerfile @ 1523:0da337780f22

dep updates; graph url renames; and other build updates Ignore-this: 4603ef3d8db650a13e543dad8580ade8 darcs-hash:0840491cd6a4e4966f47a2abca0ed30ec434022a
author drewp <drewp@bigasterisk.com>
date Wed, 05 Feb 2020 00:23:06 -0800
parents afd19bf8b499
children
line wrap: on
line diff
--- a/service/dpms/Dockerfile	Wed Feb 05 00:22:48 2020 -0800
+++ b/service/dpms/Dockerfile	Wed Feb 05 00:23:06 2020 -0800
@@ -2,13 +2,12 @@
 RUN apt-get install -y x11-xserver-utils
 
 COPY requirements.txt ./
-RUN pip install -r requirements.txt
-
-ADD https://projects.bigasterisk.com/rdfdb/more.tgz ./
-RUN tar xvzf more.tgz
+RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -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?v3'
 
 COPY *.py ./
 
 EXPOSE 9095
 
-CMD [ "python", "./dpms_service.py" ]
+CMD [ "python3", "./dpms_service.py" ]