From a54ba2ee83320d1ec6f3e43bcd79afe165095c7f Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Thu, 17 May 2018 20:27:50 +0000 Subject: Added missing numpy --- Dockerfile | 5 +++-- docker-compose.yml | 2 +- 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/" -- cgit v1.2.3-ZIG