mirror of
https://github.com/bigbluebutton/docker.git
synced 2024-11-29 19:43:34 +01:00
22 lines
767 B
Docker
22 lines
767 B
Docker
ARG BBB_BUILD_TAG
|
|
FROM bigbluebutton/bbb-build:$BBB_BUILD_TAG AS builder
|
|
|
|
# --------------------
|
|
|
|
ARG TAG_LEARNING_DASHBOARD
|
|
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
|
|
|
|
COPY ./bbb-playback /bbb-playback
|
|
RUN cd /bbb-playback && npm ci && npm run build
|
|
|
|
# --------------------
|
|
|
|
FROM nginx:1.23-alpine
|
|
|
|
COPY --from=builder /bbb-learning-dashboard/build /www/learning-analytics-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
|
|
COPY ./nginx.conf /etc/nginx/nginx.conf
|