commit a54ba2ee83320d1ec6f3e43bcd79afe165095c7f parent 3aaf918e40ad68c97e542bc596f630b58991ff66 Author: Martin Ashby <martin@ashbysoft.com> Date: Thu, 17 May 2018 20:27:50 +0000 Added missing numpy Diffstat:
M | Dockerfile | | | 6 | +++--- |
M | docker-compose.yml | | | 2 | +- |
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git 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 @@ -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/"