view lib/patchablegraph/Dockerfile @ 1565:ce5ea31e3605

dockerignore Ignore-this: 13443c0ea0409a56f6df3878f99e102c darcs-hash:4dec74849757bf5575a7307334c8bba0ed9e0d24
author drewp <drewp@bigasterisk.com>
date Fri, 14 Feb 2020 17:00:54 -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" ]