2021-02-11 14:34:55 +01:00
|
|
|
FROM node:14-alpine AS builder
|
2020-08-15 03:26:33 +02:00
|
|
|
|
2021-03-27 18:48:05 +01:00
|
|
|
RUN apk add subversion git
|
2021-02-11 14:34:55 +01:00
|
|
|
|
|
|
|
# --------------------
|
|
|
|
|
2021-10-05 16:48:22 +02:00
|
|
|
ENV TAG_PLAYBACK v3.1.0
|
2021-02-11 14:34:55 +01:00
|
|
|
ENV REACT_APP_BBB_PLAYBACK_BUILD=$TAG_PLAYBACK
|
2020-08-15 03:26:33 +02:00
|
|
|
|
2021-02-11 14:34:55 +01:00
|
|
|
# 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
|
2021-06-22 00:16:00 +02:00
|
|
|
RUN git clone https://github.com/bigbluebutton/bbb-playback.git /bbb-playback && cd /bbb-playback && git checkout 5934114aa434aba9b73b1a4c2ce228d18f276610
|
2021-02-11 14:34:55 +01:00
|
|
|
RUN cd /bbb-playback && npm install && npm run-script build
|
|
|
|
|
|
|
|
# --------------------
|
|
|
|
|
2021-06-22 00:16:00 +02:00
|
|
|
FROM nginx:1.21-alpine
|
2020-08-15 03:26:33 +02:00
|
|
|
|
2021-03-27 18:48:05 +01:00
|
|
|
COPY --from=builder /bbb-playback/build /www/playback/presentation/2.3
|
2020-08-15 03:26:33 +02:00
|
|
|
COPY ./bbb /etc/nginx/bbb
|
2021-02-24 22:06:16 +01:00
|
|
|
COPY ./bigbluebutton /etc/nginx/conf.d/default.conf
|
2021-04-18 22:12:46 +02:00
|
|
|
COPY ./nginx.conf /etc/nginx/nginx.conf
|