view service/reasoning/Dockerfile @ 1581:137ba2d6d016 0.5.0

release 0.5.0
author drewp@bigasterisk.com
date Sun, 29 Aug 2021 13:36:08 -0700
parents c8562ace4917
children
line wrap: on
line source

FROM bang5: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 *.n3 *.py *.html req* ./
COPY input ./input

EXPOSE 9071

CMD [ "python3", "./reasoning.py","-irv" ]