diff options
-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/" |