Dockerfile 684 B

123456789101112131415161718192021222324252627282930
  1. ARG JITSI_REPO=jitsi
  2. FROM node:10-stretch-slim AS builder
  3. ADD https://github.com/jitsi/jitsi-meet-spot/archive/master.tar.gz /tmp/spot.tar.gz
  4. WORKDIR /build
  5. RUN \
  6. apt update && apt install -y git && \
  7. tar xvf /tmp/spot.tar.gz --strip 1 && \
  8. cd spot-client && \
  9. npm install && \
  10. npm run build:prod
  11. FROM ${JITSI_REPO}/base
  12. RUN \
  13. apt-dpkg-wrap apt-get update && \
  14. apt-dpkg-wrap apt-get install -y nginx && \
  15. apt-cleanup && \
  16. rm -f /etc/nginx/conf.d/default.conf
  17. COPY rootfs/ /
  18. COPY --from=builder /build/spot-client/dist /usr/share/spot-client/dist
  19. COPY --from=builder /build/spot-client/index.html /usr/share/spot-client/
  20. EXPOSE 9002
  21. VOLUME ["/config"]