Mercurial > code > home > repos > homeauto
annotate service/arduinoNode/Dockerfile @ 605:ad4c4d7c1fb9
reasoning output using treq, and keep writing to PUT calls forever (but not as fast as the reasoning loop runs)
Ignore-this: 1633b16dc315082f759041d42e848ced
author | drewp@bigasterisk.com |
---|---|
date | Tue, 23 Jul 2019 17:30:46 -0700 |
parents | 12f9f1838fb5 |
children | 5c750342604d |
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 | 2 |
3 WORKDIR /opt | |
4 | |
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 |
456
12f9f1838fb5
arduinoNode: build updates, stats support, etc
drewp@bigasterisk.com
parents:
383
diff
changeset
|
7 RUN apt-get install -y arduino-mk indent |
336 | 8 |
383
8f5a16a55f64
various docker setups and build fixes
drewp@bigasterisk.com
parents:
343
diff
changeset
|
9 COPY arduino-libraries/ ./arduino-libraries/ |
336 | 10 COPY *.py ./ |
11 COPY static/ ./static/ | |
456
12f9f1838fb5
arduinoNode: build updates, stats support, etc
drewp@bigasterisk.com
parents:
383
diff
changeset
|
12 COPY config/ ./config/ |
336 | 13 |
14 ADD https://projects.bigasterisk.com/rdfdb/more.tgz ./ | |
15 RUN tar xvzf more.tgz | |
16 | |
17 EXPOSE 9059 | |
18 | |
19 CMD [ "python", "./arduinoNode.py" ] |