1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

adding arm32v7 dockerfile for raspberry pi support

This commit is contained in:
Patrik J. Braun 2019-03-28 10:45:31 +01:00
parent 091824d562
commit 9e6247ae57

View File

@ -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