jitsi-deployment/web/Dockerfile

26 lines
785 B
Docker
Raw Normal View History

ARG JITSI_REPO=jitsi
FROM ${JITSI_REPO}/base
2018-03-14 10:23:13 +01:00
2020-04-15 21:37:18 +02:00
ADD https://dl.eff.org/certbot-auto /usr/local/bin/
COPY rootfs/ /
2018-03-14 10:23:13 +01:00
RUN \
apt-dpkg-wrap apt-get update && \
2018-11-07 11:23:08 +01:00
apt-dpkg-wrap apt-get install -y cron nginx-extras jitsi-meet-web && \
apt-dpkg-wrap apt-get -d install -y jitsi-meet-web-config && \
dpkg -x /var/cache/apt/archives/jitsi-meet-web-config*.deb /tmp/pkg && \
mv /tmp/pkg/usr/share/jitsi-meet-web-config/config.js /defaults && \
mv /usr/share/jitsi-meet/interface_config.js /defaults && \
2018-03-14 10:23:13 +01:00
apt-cleanup && \
rm -f /etc/nginx/conf.d/default.conf && \
rm -rf /tmp/pkg /var/cache/apt
2018-03-14 10:23:13 +01:00
2020-04-15 21:37:18 +02:00
RUN \
chmod a+x /usr/local/bin/certbot-auto && \
certbot-auto --noninteractive --install-only
2018-03-14 10:23:13 +01:00
EXPOSE 80 443
VOLUME ["/config", "/etc/letsencrypt", "/usr/share/jitsi-meet/transcripts"]