annotate service/wifi/Dockerfile @ 1683:437d7263b515

checkpoint service/frontDoorLock
author drewp@bigasterisk.com
date Mon, 27 Sep 2021 23:13:49 -0700
parents f88ff1021ee0
children 81aa0873b48d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1679
f88ff1021ee0 checkpoint service/wifi
drewp@bigasterisk.com
parents: 662
diff changeset
1 FROM bang5:5000/base_x86
383
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents:
diff changeset
2
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents:
diff changeset
3 WORKDIR /opt
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents:
diff changeset
4
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents:
diff changeset
5 RUN apt-get install -y libxml2-dev libxslt1-dev
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents:
diff changeset
6
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents:
diff changeset
7 COPY requirements.txt ./
564
d0830394bf7b update build on service/wifi
drewp@bigasterisk.com
parents: 423
diff changeset
8 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt
421
47d7dd31bb2c port to py3
drewp@bigasterisk.com
parents: 420
diff changeset
9 # not sure why this doesn't work from inside requirements.txt
564
d0830394bf7b update build on service/wifi
drewp@bigasterisk.com
parents: 423
diff changeset
10 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'
383
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents:
diff changeset
11
1679
f88ff1021ee0 checkpoint service/wifi
drewp@bigasterisk.com
parents: 662
diff changeset
12 COPY *.py *.n3 *.html *.js *.mustache ./
662
540dd68af9f2 start ts config files, but this doesn't share the streamed-graph code properly yet
drewp@bigasterisk.com
parents: 659
diff changeset
13 COPY build/ ./build
383
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents:
diff changeset
14
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents:
diff changeset
15 EXPOSE 9070
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents:
diff changeset
16
421
47d7dd31bb2c port to py3
drewp@bigasterisk.com
parents: 420
diff changeset
17 CMD [ "python3", "wifi.py" ]