Mercurial > code > home > repos > homeauto
annotate service/reasoning/Dockerfile @ 1559:6047a660ef76
update deps
Ignore-this: 44045a6928560e5d73f81b1eea2c9ee7
darcs-hash:c358d6af4580833c546095ad26001c18498ae05e
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Fri, 14 Feb 2020 00:33:14 -0800 |
parents | d36d3b9ae516 |
children | c8562ace4917 |
rev | line source |
---|---|
1156
ee168d55524a
reasoning & collector move into docker images
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
1 FROM bang6:5000/base_x86 |
ee168d55524a
reasoning & collector move into docker images
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
2 |
ee168d55524a
reasoning & collector move into docker images
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
3 WORKDIR /opt |
ee168d55524a
reasoning & collector move into docker images
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
4 |
ee168d55524a
reasoning & collector move into docker images
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
5 COPY requirements.txt ./ |
1556
d36d3b9ae516
python 3! and some types and cleanups
drewp <drewp@bigasterisk.com>
parents:
1554
diff
changeset
|
6 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt |
1559 | 7 # not sure why this doesn't work from inside requirements.txt |
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' | |
1156
ee168d55524a
reasoning & collector move into docker images
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
9 |
1554
bb765a6bf09a
use local FuXi checkout of https://github.com/drewp/FuXi (and some other dep updates)
drewp <drewp@bigasterisk.com>
parents:
1374
diff
changeset
|
10 COPY FuXi/ FuXi |
1556
d36d3b9ae516
python 3! and some types and cleanups
drewp <drewp@bigasterisk.com>
parents:
1554
diff
changeset
|
11 RUN pip3 install ./FuXi |
d36d3b9ae516
python 3! and some types and cleanups
drewp <drewp@bigasterisk.com>
parents:
1554
diff
changeset
|
12 |
d36d3b9ae516
python 3! and some types and cleanups
drewp <drewp@bigasterisk.com>
parents:
1554
diff
changeset
|
13 RUN pip3 install pytype |
1554
bb765a6bf09a
use local FuXi checkout of https://github.com/drewp/FuXi (and some other dep updates)
drewp <drewp@bigasterisk.com>
parents:
1374
diff
changeset
|
14 |
1165 | 15 COPY *.n3 *.py *.html req* ./ |
1156
ee168d55524a
reasoning & collector move into docker images
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
16 COPY input ./input |
ee168d55524a
reasoning & collector move into docker images
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
17 |
ee168d55524a
reasoning & collector move into docker images
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
18 EXPOSE 9071 |
ee168d55524a
reasoning & collector move into docker images
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
19 |
1556
d36d3b9ae516
python 3! and some types and cleanups
drewp <drewp@bigasterisk.com>
parents:
1554
diff
changeset
|
20 CMD [ "python3", "./reasoning.py" ] |