view lib/patchablegraph/Dockerfile @ 1572:5dbabcff90b8

release 0.4.0 Ignore-this: 2d669bec63a29e84d7580f982559122d darcs-hash:d45f0df04b561fa5f562ec421157de82996135f2
author drewp <drewp@bigasterisk.com>
date Thu, 14 May 2020 22:29:55 -0700
parents 9733063421e1
children
line wrap: on
line source

FROM bang6:5000/base_x86

WORKDIR /opt

COPY browser_test_requirements.txt ./

RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r browser_test_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 ./patchablegraph.py ./patchsource.py ./setup.py __init__.py patchablegraph/
RUN pip3 install patchablegraph/

COPY browser_test.py ./

EXPOSE 8021

CMD [ "python3", "browser_test.py" ]