comparison lib/patchablegraph/Dockerfile @ 710:94610b5263e4

add browser_test server for playing with /graph resource Ignore-this: 6112c234b93e0fb99ffe918a022e5a49
author drewp@bigasterisk.com
date Mon, 03 Feb 2020 23:45:15 -0800
parents
children
comparison
equal deleted inserted replaced
709:95556cacb6e1 710:94610b5263e4
1 FROM bang6:5000/base_x86
2
3 WORKDIR /opt
4
5 COPY browser_test_requirements.txt ./
6
7 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r browser_test_requirements.txt
8 # not sure why this doesn't work from inside requirements.txt
9 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'
10
11 COPY ./patchablegraph.py ./patchsource.py ./setup.py __init__.py patchablegraph/
12 RUN pip3 install patchablegraph/
13
14 COPY browser_test.py ./
15
16 EXPOSE 8021
17
18 CMD [ "python3", "browser_test.py" ]