aboutsummaryrefslogtreecommitdiff
path: root/app/jitsi/build/jitsi-meet/Dockerfile
blob: b74c04ed2fe2368495b0e8abbb8c3507a86e4294 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM debian:buster AS builder

RUN apt-get update && \
    apt-get install -y curl && \
    curl -sL https://deb.nodesource.com/setup_14.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:buster

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;"]