Mercurial > code > home > repos > homeauto
comparison service/arduinoNode/Dockerfile @ 1423:ba56263fe3b2
arduinonode to docker
Ignore-this: 8f689c7491819bc47200018b517fd7de
darcs-hash:e3602fc781c7b66e98ca950d5782ecc41e506bad
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Wed, 07 Aug 2019 20:23:04 -0700 |
parents | 672a3d830e7f |
children |
comparison
equal
deleted
inserted
replaced
1422:975d6c25be7d | 1423:ba56263fe3b2 |
---|---|
1 FROM bang6:5000/base_x86 | 1 FROM bang6:5000/base_x86 |
2 | 2 |
3 WORKDIR /opt | 3 WORKDIR /opt |
4 | 4 |
5 RUN apt-get install -y arduino-mk indent | |
6 | |
5 COPY requirements.txt ./ | 7 COPY requirements.txt ./ |
6 RUN pip install -r requirements.txt | 8 RUN pip install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt |
7 RUN apt-get install -y arduino-mk indent | |
8 | 9 |
9 COPY arduino-libraries/ ./arduino-libraries/ | 10 COPY arduino-libraries/ ./arduino-libraries/ |
10 COPY *.py ./ | 11 COPY *.py ./ |
11 COPY static/ ./static/ | |
12 COPY config/ ./config/ | 12 COPY config/ ./config/ |
13 | |
14 ADD https://projects.bigasterisk.com/rdfdb/more.tgz ./ | |
15 RUN tar xvzf more.tgz | |
16 | 13 |
17 EXPOSE 9059 | 14 EXPOSE 9059 |
18 | 15 |
19 CMD [ "python", "./arduinoNode.py" ] | 16 CMD [ "python", "./arduinoNode.py" ] |