Mercurial > code > home > repos > homeauto
annotate service/piNode/Dockerfile @ 1143:d1bc88f67969
RgbPixelsAnimation and docker build updates
Ignore-this: c79e4a64bb5ad8683aa837839e79785b
darcs-hash:bcc0201b2aaf3a1f1f689a6437eef8298970c58a
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sat, 03 Mar 2018 18:09:34 -0800 |
parents | 6ffff91eea2f |
children | cb3738b1a15a |
rev | line source |
---|---|
1143
d1bc88f67969
RgbPixelsAnimation and docker build updates
drewp <drewp@bigasterisk.com>
parents:
1137
diff
changeset
|
1 FROM bang6:5000/pi_base |
1137
6ffff91eea2f
piNode Dockerfile based on alpine that's not working because of a libc issue
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
2 |
6ffff91eea2f
piNode Dockerfile based on alpine that's not working because of a libc issue
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
3 COPY requirements.txt ./ |
6ffff91eea2f
piNode Dockerfile based on alpine that's not working because of a libc issue
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
4 |
1143
d1bc88f67969
RgbPixelsAnimation and docker build updates
drewp <drewp@bigasterisk.com>
parents:
1137
diff
changeset
|
5 RUN pip install -r requirements.txt |
1137
6ffff91eea2f
piNode Dockerfile based on alpine that's not working because of a libc issue
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
6 |
6ffff91eea2f
piNode Dockerfile based on alpine that's not working because of a libc issue
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
7 ADD https://projects.bigasterisk.com/rdfdb/more.tgz ./ |
6ffff91eea2f
piNode Dockerfile based on alpine that's not working because of a libc issue
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
8 RUN tar xvzf more.tgz |
6ffff91eea2f
piNode Dockerfile based on alpine that's not working because of a libc issue
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
9 |
1143
d1bc88f67969
RgbPixelsAnimation and docker build updates
drewp <drewp@bigasterisk.com>
parents:
1137
diff
changeset
|
10 ADD https://projects.bigasterisk.com/rdfdb/more2.tgz ./ |
d1bc88f67969
RgbPixelsAnimation and docker build updates
drewp <drewp@bigasterisk.com>
parents:
1137
diff
changeset
|
11 RUN tar xvzf more2.tgz |
d1bc88f67969
RgbPixelsAnimation and docker build updates
drewp <drewp@bigasterisk.com>
parents:
1137
diff
changeset
|
12 |
1137
6ffff91eea2f
piNode Dockerfile based on alpine that's not working because of a libc issue
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
13 COPY *.py ./ |
6ffff91eea2f
piNode Dockerfile based on alpine that's not working because of a libc issue
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
14 COPY config/ ./config/ |
6ffff91eea2f
piNode Dockerfile based on alpine that's not working because of a libc issue
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
15 |
6ffff91eea2f
piNode Dockerfile based on alpine that's not working because of a libc issue
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
16 CMD [ "python", "./piNode.py" ] |