From 9e6247ae5701fd9e483daca99987a0e5dcb0cfed Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Thu, 28 Mar 2019 10:45:31 +0100 Subject: [PATCH] adding arm32v7 dockerfile for raspberry pi support --- docker/arm32v7/debian/stretch/Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docker/arm32v7/debian/stretch/Dockerfile diff --git a/docker/arm32v7/debian/stretch/Dockerfile b/docker/arm32v7/debian/stretch/Dockerfile new file mode 100644 index 00000000..1da025f4 --- /dev/null +++ b/docker/arm32v7/debian/stretch/Dockerfile @@ -0,0 +1,14 @@ +FROM arm32v7/node:10-stretch +LABEL maintainer="Patrik J. Braun" + + +RUN git clone https://github.com/bpatrik/pigallery2.git && \ + cd /pigallery2 && \ + npm install --unsafe-perm && \ + npm run build-release && \ + cp -r /pigallery2/release /pigallery2-release && \ + rm /pigallery2 -R && \ + cd /pigallery2-release && \ + npm install --unsafe-perm + +CMD cd /pigallery2-release && npm start