1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00

15 lines
521 B
Docker
Raw Normal View History

FROM arm32v7/node:10-stretch
LABEL maintainer="Patrik J. Braun"
2019-12-12 11:04:20 +01:00
# build tutorial: https://collabnix.com/building-arm-based-docker-images-on-docker-desktop-made-possible-using-buildx/
RUN git clone https://github.com/bpatrik/pigallery2.git && \
cd /pigallery2 && \
npm install --unsafe-perm && \
2019-12-08 12:44:18 +01:00
npm run create-release && \
cp -r /pigallery2/release /pigallery2-release && \
rm /pigallery2 -R && \
cd /pigallery2-release && \
npm install --unsafe-perm
CMD cd /pigallery2-release && npm start