Dockerfile 828 B

12345678910111213141516171819202122232425
  1. ARG JITSI_REPO=jitsi
  2. FROM ${JITSI_REPO}/base
  3. ADD https://dl.eff.org/certbot-auto /usr/local/bin/
  4. COPY rootfs/ /
  5. RUN \
  6. apt-dpkg-wrap apt-get update && \
  7. apt-dpkg-wrap apt-get install -y cron nginx-extras jitsi-meet-web python3-venv && \
  8. apt-dpkg-wrap apt-get -d install -y jitsi-meet-web-config && \
  9. dpkg -x /var/cache/apt/archives/jitsi-meet-web-config*.deb /tmp/pkg && \
  10. mv /tmp/pkg/usr/share/jitsi-meet-web-config/config.js /defaults && \
  11. mv /usr/share/jitsi-meet/interface_config.js /defaults && \
  12. rm -f /etc/nginx/conf.d/default.conf && \
  13. apt-cleanup && \
  14. rm -rf /tmp/pkg /var/cache/apt
  15. RUN \
  16. chmod a+x /usr/local/bin/certbot-auto && \
  17. USE_PYTHON_3=1 certbot-auto --noninteractive --install-only --no-bootstrap
  18. EXPOSE 80 443
  19. VOLUME ["/config", "/etc/letsencrypt", "/usr/share/jitsi-meet/transcripts"]