Mercurial > code > home > repos > homeauto
annotate lib/patchablegraph/Dockerfile @ 1544:33076ad439d1
fixes to TS and page build. remove some unused attempts at binding to <streamed-graph>
Ignore-this: dc4cd74d21fef101b32da824bbf60a00
darcs-hash:46f8164157442fb22e93a3e2062ffbcd20b43350
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Thu, 13 Feb 2020 10:17:54 -0800 |
parents | 9733063421e1 |
children |
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" ] |