diff service/reasoning/Dockerfile @ 795:c8562ace4917

big updates for k8s, py3, drop FuXi, use prometheus for metrics.
author drewp@bigasterisk.com
date Sun, 27 Dec 2020 03:29:18 -0800
parents 1dfeacdc906f
children
line wrap: on
line diff
--- a/service/reasoning/Dockerfile	Sat Dec 26 17:00:08 2020 -0800
+++ b/service/reasoning/Dockerfile	Sun Dec 27 03:29:18 2020 -0800
@@ -1,4 +1,4 @@
-FROM bang6:5000/base_x86
+FROM bang5:5000/base_x86
 
 WORKDIR /opt
 
@@ -7,14 +7,9 @@
 # not sure why this doesn't work from inside requirements.txt
 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -U 'https://github.com/drewp/cyclone/archive/python3.zip?v2'
 
-COPY FuXi/ FuXi
-RUN pip3 install ./FuXi
-
-RUN pip3 install pytype
-
 COPY *.n3 *.py *.html req* ./
 COPY input ./input
 
 EXPOSE 9071
 
-CMD [ "python3", "./reasoning.py" ]
+CMD [ "python3", "./reasoning.py","-irv" ]