diff options
author | Alex Auvolat <alex@adnab.me> | 2022-08-23 18:00:07 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-08-23 18:00:07 +0200 |
commit | 5994e41ad1fdba931ae488d8e0efb13f3e505c18 (patch) | |
tree | 342f432cc0a4598570672f7f8d66d7fa400aa693 /app/jitsi/build/jitsi-meet/Dockerfile | |
parent | 02b1e6200c6f2acf85e4471ea341adde8e93ec9c (diff) | |
download | nixcfg-5994e41ad1fdba931ae488d8e0efb13f3e505c18.tar.gz nixcfg-5994e41ad1fdba931ae488d8e0efb13f3e505c18.zip |
Add jitsi
Diffstat (limited to 'app/jitsi/build/jitsi-meet/Dockerfile')
-rw-r--r-- | app/jitsi/build/jitsi-meet/Dockerfile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app/jitsi/build/jitsi-meet/Dockerfile b/app/jitsi/build/jitsi-meet/Dockerfile new file mode 100644 index 0000000..d8c7cf8 --- /dev/null +++ b/app/jitsi/build/jitsi-meet/Dockerfile @@ -0,0 +1,23 @@ +FROM debian:bookworm AS builder + +RUN apt-get update && \ + apt-get install -y curl && \ + curl -sL https://deb.nodesource.com/setup_16.x | bash - && \ + 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 +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;"] |