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
|
|
|
|
|
|
|
# --------------------
|
|
|
|
|
2022-04-03 23:18:15 +02:00
|
|
|
ARG TAG_LEARNING_DASHBOARD
|
2021-10-06 13:43:53 +02:00
|
|
|
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
|
|
|
|
|
2022-04-03 23:18:15 +02:00
|
|
|
COPY ./bbb-playback /bbb-playback
|
2021-10-06 13:43:53 +02:00
|
|
|
RUN cd /bbb-playback && npm ci && npm run build
|
2021-02-11 14:34:55 +01:00
|
|
|
|
|
|
|
# --------------------
|
|
|
|
|
2023-01-10 17:24:33 +01:00
|
|
|
FROM nginx:1.23-alpine
|
2020-08-15 03:26:33 +02:00
|
|
|
|
2022-01-27 09:53:45 +01:00
|
|
|
COPY --from=builder /bbb-learning-dashboard/build /www/learning-analytics-dashboard/
|
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
|