0
|
1 FROM bang5:5000/base_basic
|
|
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" ]
|