web: simplify build

We no longer need the config package because we are building it from
scratch.
This commit is contained in:
Saúl Ibarra Corretgé 2022-12-12 16:23:16 +01:00
parent dd399fee54
commit 1e49d65e8c

View File

@ -13,13 +13,9 @@ COPY rootfs/ /
RUN apt-dpkg-wrap apt-get update && \ RUN apt-dpkg-wrap apt-get update && \
apt-dpkg-wrap apt-get install -y cron nginx-extras jitsi-meet-web socat curl jq && \ apt-dpkg-wrap apt-get install -y cron nginx-extras jitsi-meet-web socat curl jq && \
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 && \ mv /usr/share/jitsi-meet/interface_config.js /defaults && \
rm -f /etc/nginx/conf.d/default.conf && \ rm -f /etc/nginx/conf.d/default.conf && \
apt-cleanup && \ apt-cleanup
rm -rf /tmp/pkg /var/cache/apt
EXPOSE 80 443 EXPOSE 80 443