nixcfg/cluster/prod/app/jitsi/build/jitsi-meet/Dockerfile

28 lines
779 B
Text
Raw Normal View History

2022-08-23 16:00:07 +00:00
FROM debian:bookworm AS builder
RUN apt-get update && \
apt-get install -y curl && \
2024-09-12 17:02:57 +00:00
curl -sL https://deb.nodesource.com/setup_22.x | bash - && \
2022-08-23 16:00:07 +00:00
apt-get install -y git nodejs make git unzip
ARG MEET_TAG
RUN git clone --depth 1 --branch ${MEET_TAG} https://github.com/jitsi/jitsi-meet
WORKDIR jitsi-meet
2023-02-02 13:48:59 +00:00
# @FIXME read the following SO post to understand why we declare this option
# https://stackoverflow.com/a/73027407
COPY *.patch .
RUN git apply 0001-allow-broken-openssl-routines.patch
2022-08-23 16:00:07 +00:00
RUN npm install && \
make
FROM debian:bookworm
COPY --from=builder /jitsi-meet /srv/jitsi-meet
RUN apt-get update && \
apt-get install -y nginx && \
rm /etc/nginx/sites-enabled/* && \
rm /etc/nginx/nginx.conf
CMD ["/usr/sbin/nginx", "-g", "daemon off;"]