aboutsummaryrefslogtreecommitdiff
path: root/docker/jitsi/jitsi-front/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/jitsi/jitsi-front/Dockerfile')
-rw-r--r--docker/jitsi/jitsi-front/Dockerfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/docker/jitsi/jitsi-front/Dockerfile b/docker/jitsi/jitsi-front/Dockerfile
index e69de29..239372e 100644
--- a/docker/jitsi/jitsi-front/Dockerfile
+++ b/docker/jitsi/jitsi-front/Dockerfile
@@ -0,0 +1,20 @@
+FROM debian:buster AS builder
+
+RUN apt-get update && \
+ apt-get install -y npm git nodejs make && \
+ git clone --depth=1 https://github.com/jitsi/jitsi-meet.git && \
+ cd jitsi-meet && \
+ npm install && \
+ make
+
+FROM debian:buster
+
+COPY --from=builder /jitsi-meet /srv/jitsi-meet
+RUN apt-get update && \
+ apt-get install -y nginx && \
+ rm /etc/nginx/sites-enabled/*
+
+COPY config.js /srv/jitsi-meet/config.js
+COPY entrypoint.sh /usr/local/bin/entrypoint
+ENTRYPOINT ["/usr/local/bin/entrypoint"]
+CMD ["/usr/sbin/nginx", "-g", "daemon off;"]