Mercurial > code > home > repos > homeauto
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 |
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 |
336 | 7 |
383
8f5a16a55f64
various docker setups and build fixes
drewp@bigasterisk.com
parents:
343
diff
changeset
|
8 COPY arduino-libraries/ ./arduino-libraries/ |
336 | 9 COPY *.py ./ |
10 COPY static/ ./static/ | |
11 | |
12 ADD https://projects.bigasterisk.com/rdfdb/more.tgz ./ | |
13 RUN tar xvzf more.tgz | |
14 | |
15 EXPOSE 9059 | |
16 | |
17 CMD [ "python", "./arduinoNode.py" ] |