annotate service/reasoning/Dockerfile @ 1754:92999dfbf321 default tip

add shelly support
author drewp@bigasterisk.com
date Tue, 04 Jun 2024 13:03:43 -0700
parents c8562ace4917
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
795
c8562ace4917 big updates for k8s, py3, drop FuXi, use prometheus for metrics.
drewp@bigasterisk.com
parents: 759
diff changeset
1 FROM bang5:5000/base_x86
351
7716b1810d6c reasoning & collector move into docker images
drewp@bigasterisk.com
parents:
diff changeset
2
7716b1810d6c reasoning & collector move into docker images
drewp@bigasterisk.com
parents:
diff changeset
3 WORKDIR /opt
7716b1810d6c reasoning & collector move into docker images
drewp@bigasterisk.com
parents:
diff changeset
4
7716b1810d6c reasoning & collector move into docker images
drewp@bigasterisk.com
parents:
diff changeset
5 COPY requirements.txt ./
756
f3f667769aef python 3! and some types and cleanups
drewp@bigasterisk.com
parents: 754
diff changeset
6 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt
759
1dfeacdc906f update deps
drewp@bigasterisk.com
parents: 756
diff changeset
7 # not sure why this doesn't work from inside requirements.txt
1dfeacdc906f update deps
drewp@bigasterisk.com
parents: 756
diff changeset
8 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'
351
7716b1810d6c reasoning & collector move into docker images
drewp@bigasterisk.com
parents:
diff changeset
9
360
2efa246a65e7 move reasoning into docker
drewp@bigasterisk.com
parents: 351
diff changeset
10 COPY *.n3 *.py *.html req* ./
351
7716b1810d6c reasoning & collector move into docker images
drewp@bigasterisk.com
parents:
diff changeset
11 COPY input ./input
7716b1810d6c reasoning & collector move into docker images
drewp@bigasterisk.com
parents:
diff changeset
12
7716b1810d6c reasoning & collector move into docker images
drewp@bigasterisk.com
parents:
diff changeset
13 EXPOSE 9071
7716b1810d6c reasoning & collector move into docker images
drewp@bigasterisk.com
parents:
diff changeset
14
795
c8562ace4917 big updates for k8s, py3, drop FuXi, use prometheus for metrics.
drewp@bigasterisk.com
parents: 759
diff changeset
15 CMD [ "python3", "./reasoning.py","-irv" ]