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

15 lines
394 B
Docker
Raw Normal View History

2018-12-06 04:55:11 +08:00
FROM node:10-stretch
LABEL maintainer="Patrik J. Braun"
2018-12-06 04:55:11 +08:00
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 && \
2018-12-06 04:55:11 +08:00
npm install --unsafe-perm
CMD cd /pigallery2-release && npm start