annotate service/piNode/Dockerfile @ 365:cb3738b1a15a

pi_base moves to base image project Ignore-this: 70e2df6d97df5878ca8803501f15f2e0
author drewp@bigasterisk.com
date Sun, 11 Nov 2018 23:53:15 -0800
parents f64e20d3407e
children aea6dbb8abf5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
365
cb3738b1a15a pi_base moves to base image project
drewp@bigasterisk.com
parents: 338
diff changeset
1 FROM bang6:5000/base_pi
332
ca0fd0774d07 piNode Dockerfile based on alpine that's not working because of a libc issue
drewp@bigasterisk.com
parents:
diff changeset
2
ca0fd0774d07 piNode Dockerfile based on alpine that's not working because of a libc issue
drewp@bigasterisk.com
parents:
diff changeset
3 COPY requirements.txt ./
ca0fd0774d07 piNode Dockerfile based on alpine that's not working because of a libc issue
drewp@bigasterisk.com
parents:
diff changeset
4
338
f64e20d3407e RgbPixelsAnimation and docker build updates
drewp@bigasterisk.com
parents: 332
diff changeset
5 RUN pip install -r requirements.txt
332
ca0fd0774d07 piNode Dockerfile based on alpine that's not working because of a libc issue
drewp@bigasterisk.com
parents:
diff changeset
6
ca0fd0774d07 piNode Dockerfile based on alpine that's not working because of a libc issue
drewp@bigasterisk.com
parents:
diff changeset
7 ADD https://projects.bigasterisk.com/rdfdb/more.tgz ./
ca0fd0774d07 piNode Dockerfile based on alpine that's not working because of a libc issue
drewp@bigasterisk.com
parents:
diff changeset
8 RUN tar xvzf more.tgz
ca0fd0774d07 piNode Dockerfile based on alpine that's not working because of a libc issue
drewp@bigasterisk.com
parents:
diff changeset
9
338
f64e20d3407e RgbPixelsAnimation and docker build updates
drewp@bigasterisk.com
parents: 332
diff changeset
10 ADD https://projects.bigasterisk.com/rdfdb/more2.tgz ./
f64e20d3407e RgbPixelsAnimation and docker build updates
drewp@bigasterisk.com
parents: 332
diff changeset
11 RUN tar xvzf more2.tgz
f64e20d3407e RgbPixelsAnimation and docker build updates
drewp@bigasterisk.com
parents: 332
diff changeset
12
332
ca0fd0774d07 piNode Dockerfile based on alpine that's not working because of a libc issue
drewp@bigasterisk.com
parents:
diff changeset
13 COPY *.py ./
ca0fd0774d07 piNode Dockerfile based on alpine that's not working because of a libc issue
drewp@bigasterisk.com
parents:
diff changeset
14 COPY config/ ./config/
ca0fd0774d07 piNode Dockerfile based on alpine that's not working because of a libc issue
drewp@bigasterisk.com
parents:
diff changeset
15
ca0fd0774d07 piNode Dockerfile based on alpine that's not working because of a libc issue
drewp@bigasterisk.com
parents:
diff changeset
16 CMD [ "python", "./piNode.py" ]