annotate service/arduinoNode/Dockerfile @ 400:1b303e7542a3

start the next python rewrite of rfid pm_532 reader. Nim didn' Ignore-this: b6a98b3f0f1c4147bedcc5d2bcfec226 t go well with asynchttpserer adn hreaind
author drewp@bigasterisk.com
date Wed, 27 Feb 2019 10:23:36 -0800
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" ]