mirror of
https://github.com/bigbluebutton/docker.git
synced 2024-12-04 22:11:30 +01:00
25 lines
865 B
Docker
25 lines
865 B
Docker
FROM node:14-alpine AS builder
|
|
|
|
RUN apk add subversion git
|
|
|
|
# --------------------
|
|
|
|
ENV TAG_PLAYBACK v2.3.2
|
|
ENV REACT_APP_BBB_PLAYBACK_BUILD=$TAG_PLAYBACK
|
|
|
|
# apparently there is currently no github release & tag created
|
|
# for the latest bbb-playback version shipped with 2.3-alpha-6
|
|
# so we use the master branch
|
|
# RUN svn checkout https://github.com/bigbluebutton/bbb-playback/tags/$TAG_PLAYBACK /bbb-playback
|
|
RUN git clone https://github.com/bigbluebutton/bbb-playback.git /bbb-playback && cd /bbb-playback && git checkout 5934114aa434aba9b73b1a4c2ce228d18f276610
|
|
RUN cd /bbb-playback && npm install && npm run-script build
|
|
|
|
# --------------------
|
|
|
|
FROM nginx:1.21-alpine
|
|
|
|
COPY --from=builder /bbb-playback/build /www/playback/presentation/2.3
|
|
COPY ./bbb /etc/nginx/bbb
|
|
COPY ./bigbluebutton /etc/nginx/conf.d/default.conf
|
|
COPY ./nginx.conf /etc/nginx/nginx.conf
|