diff options
author | Quentin <quentin@deuxfleurs.fr> | 2020-09-12 10:03:48 +0200 |
---|---|---|
committer | Quentin <quentin@deuxfleurs.fr> | 2020-09-12 10:03:48 +0200 |
commit | c4a6cf1534b864d3941c839d4a4dca7e505bd828 (patch) | |
tree | 3e866768cf39ae947def5b205f74fddfb435725d /app_build/jitsi-meet/Dockerfile | |
parent | 0550647b9348d1e36431400e0832b4340564c658 (diff) | |
download | infrastructure-c4a6cf1534b864d3941c839d4a4dca7e505bd828.tar.gz infrastructure-c4a6cf1534b864d3941c839d4a4dca7e505bd828.zip |
Rebase first step
Diffstat (limited to 'app_build/jitsi-meet/Dockerfile')
-rw-r--r-- | app_build/jitsi-meet/Dockerfile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/app_build/jitsi-meet/Dockerfile b/app_build/jitsi-meet/Dockerfile new file mode 100644 index 0000000..0d908eb --- /dev/null +++ b/app_build/jitsi-meet/Dockerfile @@ -0,0 +1,29 @@ +FROM debian:buster AS builder + +#ENV VERSION=4048 +RUN apt-get update && \ + apt-get install -y npm git nodejs make wget unzip && \ + wget https://github.com/jitsi/jitsi-meet/archive/${VERSION}.zip -O jitsi-meet.zip && \ + unzip jitsi-meet.zip && \ + mv jitsi-meet-${VERSION} jitsi-meet && \ + cd jitsi-meet && \ + npm install && \ + make && \ + sed -i \ + "s/OPTIMAL_BROWSERS: \[.*\],/ OPTIMAL_BROWSERS: [ 'chrome', 'chromium', 'nwjs', 'electron' ],/g" \ + interface_config.js && \ + sed -i \ + "s/UNSUPPORTED_BROWSERS: \[.*\],/ UNSUPPORTED_BROWSERS: [ 'firefox' ],/g" \ + interface_config.js + +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;"] |