aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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/"