view 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
line wrap: on
line source

FROM bang6:5000/base_x86

WORKDIR /opt

COPY requirements.txt ./
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 --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" ]