aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2018-05-17 20:27:50 +0000
committerMartin Ashby <martin@ashbysoft.com>2018-05-17 20:27:50 +0000
commita54ba2ee83320d1ec6f3e43bcd79afe165095c7f (patch)
tree8a74e50231d74428b8beb2de90eef978f1fd9754
parent3aaf918e40ad68c97e542bc596f630b58991ff66 (diff)
downloadunicornpaint-a54ba2ee83320d1ec6f3e43bcd79afe165095c7f.tar.gz
unicornpaint-a54ba2ee83320d1ec6f3e43bcd79afe165095c7f.tar.bz2
unicornpaint-a54ba2ee83320d1ec6f3e43bcd79afe165095c7f.tar.xz
unicornpaint-a54ba2ee83320d1ec6f3e43bcd79afe165095c7f.zip
Added missing numpy
-rw-r--r--Dockerfile5
-rw-r--r--docker-compose.yml2
2 files changed, 4 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index f195bee..2dc7775 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,6 @@
-FROM python
+FROM python:latest
RUN pip install unicornhathd Flask Flask-Sockets
+RUN pip install numpy
COPY build/ .
COPY server.py .
-ENTRYPOINT python server.py \ No newline at end of file
+ENTRYPOINT python server.py
diff --git a/docker-compose.yml b/docker-compose.yml
index 1730cc4..ff87e58 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -7,4 +7,4 @@ services:
- "3001:3001"
volumes:
- "/dev/spidev0.0:/dev/spidev0.0"
- - "/home/pi/unicornpaint/saves/:/saves/"
+ - "/home/pi/docker/unicornpaint/saves/:/saves/"