annotate service/arduinoNode/Dockerfile @ 383:8f5a16a55f64

various docker setups and build fixes Ignore-this: adb559337fa1bd058818d1fc99d80ac1
author drewp@bigasterisk.com
date Fri, 28 Dec 2018 02:13:15 -0800
parents 13b2a61650c1
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" ]