mirror of
https://github.com/bigbluebutton/docker.git
synced 2025-08-09 04:54:32 +02:00
v2.4-rc-1: node v14, learning dashboard, base images update
This commit is contained in:
@ -4,20 +4,20 @@ RUN apk add subversion git
|
||||
|
||||
# --------------------
|
||||
|
||||
ENV TAG_LEARNING_DASHBOARD v2.4-rc-1
|
||||
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_LEARNING_DASHBOARD/bbb-learning-dashboard /bbb-learning-dashboard && rm -r /bbb-learning-dashboard/.svn
|
||||
RUN cd /bbb-learning-dashboard && npm ci && npm run build
|
||||
|
||||
ENV TAG_PLAYBACK v3.1.0
|
||||
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
|
||||
RUN svn checkout https://github.com/bigbluebutton/bbb-playback/tags/$TAG_PLAYBACK /bbb-playback && rm -r /bbb-playback/.svn
|
||||
RUN cd /bbb-playback && npm ci && npm run build
|
||||
|
||||
# --------------------
|
||||
|
||||
FROM nginx:1.21-alpine
|
||||
|
||||
COPY --from=builder /bbb-learning-dashboard/build /www/learning-dashboard
|
||||
COPY --from=builder /bbb-playback/build /www/playback/presentation/2.3
|
||||
COPY ./bbb /etc/nginx/bbb
|
||||
COPY ./bigbluebutton /etc/nginx/conf.d/default.conf
|
||||
|
9
mod/nginx/bbb/learning-dashboard.nginx
Normal file
9
mod/nginx/bbb/learning-dashboard.nginx
Normal file
@ -0,0 +1,9 @@
|
||||
location ~ /learning-dashboard/([0-9a-f]+-[0-9]+)/(.*) {
|
||||
root /var/bigbluebutton/learning-dashboard/;
|
||||
autoindex off;
|
||||
}
|
||||
|
||||
location /learning-dashboard/ {
|
||||
alias /www/learning-dashboard/;
|
||||
autoindex off;
|
||||
}
|
Reference in New Issue
Block a user