2019-09-03 17:39:24 +02:00
|
|
|
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/
|
|
|
|
|
2020-03-25 10:47:27 +01:00
|
|
|
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 && \
|
2020-03-25 10:47:27 +01:00
|
|
|
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 && \
|
2018-05-04 08:29:46 +02:00
|
|
|
rm -f /etc/nginx/conf.d/default.conf && \
|
2020-03-25 10:47:27 +01:00
|
|
|
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
|
|
|
|
|
2020-02-18 19:52:49 +01:00
|
|
|
VOLUME ["/config", "/etc/letsencrypt", "/usr/share/jitsi-meet/transcripts"]
|