annotate lib/patchablegraph/Dockerfile @ 1512:1e9cfec1be78

don't require first arg on PatchedGraph.serialize Ignore-this: bc695823e03dbd012e03efa4e40b6aca darcs-hash:1dbf9271b5ca55c78987c474ef223af9d5b811d2
author drewp <drewp@bigasterisk.com>
date Mon, 03 Feb 2020 23:46:29 -0800
parents 9733063421e1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1511
9733063421e1 add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
diff changeset
1 FROM bang6:5000/base_x86
9733063421e1 add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
diff changeset
2
9733063421e1 add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
diff changeset
3 WORKDIR /opt
9733063421e1 add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
diff changeset
4
9733063421e1 add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
diff changeset
5 COPY browser_test_requirements.txt ./
9733063421e1 add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
diff changeset
6
9733063421e1 add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
diff changeset
7 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r browser_test_requirements.txt
9733063421e1 add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
diff changeset
8 # not sure why this doesn't work from inside requirements.txt
9733063421e1 add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
diff changeset
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'
9733063421e1 add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
diff changeset
10
9733063421e1 add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
diff changeset
11 COPY ./patchablegraph.py ./patchsource.py ./setup.py __init__.py patchablegraph/
9733063421e1 add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
diff changeset
12 RUN pip3 install patchablegraph/
9733063421e1 add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
diff changeset
13
9733063421e1 add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
diff changeset
14 COPY browser_test.py ./
9733063421e1 add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
diff changeset
15
9733063421e1 add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
diff changeset
16 EXPOSE 8021
9733063421e1 add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
diff changeset
17
9733063421e1 add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
diff changeset
18 CMD [ "python3", "browser_test.py" ]