[add] librephotos

This commit is contained in:
Andy Bunce 2023-01-14 17:48:03 +00:00
parent ebc53109d4
commit a23428dec3
44 changed files with 2123 additions and 0 deletions

View file

@ -0,0 +1,20 @@
FROM node:13-slim as builder
RUN apt-get update && apt-get install -y git
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
ENV CLI_WIDTH 80
RUN git clone https://github.com/LibrePhotos/librephotos-frontend /usr/src/app
RUN npm install --legacy-peer-deps
RUN npm run postinstall
RUN npm run build
FROM halverneus/static-file-server
ENV PORT 3000
EXPOSE 3000
COPY --from=builder /usr/src/app/build /web
ENTRYPOINT ["/serve"]
CMD []