view lib/patchablegraph/Dockerfile @ 1529:0e0713fd23e7

build: place generated nim in its own dir Ignore-this: 89c9a75595f0465d4efc44ef1b96abd7 darcs-hash:6a695011fe841ce7d6c020ebc33b6099ff26d964
author drewp <drewp@bigasterisk.com>
date Thu, 23 Jan 2020 23:59:41 -0800
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" ]