annotate lib/patchablegraph/Dockerfile @ 1572:5dbabcff90b8

release 0.4.0 Ignore-this: 2d669bec63a29e84d7580f982559122d darcs-hash:d45f0df04b561fa5f562ec421157de82996135f2
author drewp <drewp@bigasterisk.com>
date Thu, 14 May 2020 22:29:55 -0700
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" ]