view Dockerfile @ 23:8d6ba6d372c8

add CORS support to graph responses
author drewp@bigasterisk.com
date Sat, 23 Apr 2022 23:45:45 -0700
parents c3f0a692c4cb
children
line wrap: on
line source

FROM bang5:5000/base_basic

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" ]