Mercurial > code > home > repos > homeauto
annotate service/arduinoNode/Dockerfile @ 1242:24c004aac998
stats->state to make room for greplin stats
Ignore-this: cfa2357bdf06ac3324741700ac44db5c
darcs-hash:d4acffea4be6833f5af57660400dd13d2659c32e
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Mon, 15 Apr 2019 00:17:04 -0700 |
parents | afd19bf8b499 |
children | 12f9f1838fb5 |
rev | line source |
---|---|
1188
afd19bf8b499
various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
1148
diff
changeset
|
1 FROM bang6:5000/base_x86 |
1141
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
2 |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
3 WORKDIR /opt |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
4 |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
5 COPY requirements.txt ./ |
1188
afd19bf8b499
various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
1148
diff
changeset
|
6 RUN pip install -r requirements.txt |
1141
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
7 |
1188
afd19bf8b499
various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
1148
diff
changeset
|
8 COPY arduino-libraries/ ./arduino-libraries/ |
1141
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
9 COPY *.py ./ |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
10 COPY static/ ./static/ |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
11 |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
12 ADD https://projects.bigasterisk.com/rdfdb/more.tgz ./ |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
13 RUN tar xvzf more.tgz |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
14 |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
15 EXPOSE 9059 |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
16 |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
17 CMD [ "python", "./arduinoNode.py" ] |