annotate service/arduinoNode/Dockerfile @ 408:0787cd64ecf8

cmdline flag on piNode to pick hub host Ignore-this: e88b7bc860b040e6952ddf3723f26a23
author drewp@bigasterisk.com
date Tue, 12 Mar 2019 00:14:12 -0700
parents 8f5a16a55f64
children 12f9f1838fb5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
383
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents: 343
diff changeset
1 FROM bang6:5000/base_x86
336
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
2
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
3 WORKDIR /opt
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
4
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
5 COPY requirements.txt ./
383
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents: 343
diff changeset
6 RUN pip install -r requirements.txt
336
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
7
383
8f5a16a55f64 various docker setups and build fixes
drewp@bigasterisk.com
parents: 343
diff changeset
8 COPY arduino-libraries/ ./arduino-libraries/
336
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
9 COPY *.py ./
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
10 COPY static/ ./static/
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
11
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
12 ADD https://projects.bigasterisk.com/rdfdb/more.tgz ./
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
13 RUN tar xvzf more.tgz
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
14
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
15 EXPOSE 9059
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
16
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
17 CMD [ "python", "./arduinoNode.py" ]