diff options
author | Martin Ashby <martin@martin-laptop.lan> | 2018-05-17 21:32:30 +0100 |
---|---|---|
committer | Martin Ashby <martin@martin-laptop.lan> | 2018-05-17 21:32:30 +0100 |
commit | a49102fc3e2f210236e653d5cf42fa1d1231b30a (patch) | |
tree | 1918d4aa8f4e71871d1bbfe8de0d37b1d6d557a4 | |
parent | 7e45cf7f66327c87a5369b8194fc05ba60fc3755 (diff) | |
parent | 375191b516846cbc3c95c5991c86c8f9c388eb3c (diff) | |
download | unicornpaint-a49102fc3e2f210236e653d5cf42fa1d1231b30a.tar.gz unicornpaint-a49102fc3e2f210236e653d5cf42fa1d1231b30a.tar.bz2 unicornpaint-a49102fc3e2f210236e653d5cf42fa1d1231b30a.tar.xz unicornpaint-a49102fc3e2f210236e653d5cf42fa1d1231b30a.zip |
Merge branch 'master' of github.com:MFAshby/unicornpaint
-rw-r--r-- | Dockerfile | 5 | ||||
-rw-r--r-- | docker-compose.yml | 2 |
2 files changed, 4 insertions, 3 deletions
@@ -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/" |