更新 'mod/html5/Dockerfile'

This commit is contained in:
zhongjin 2023-02-18 21:44:50 +08:00
parent 774ae3ac05
commit 6a7388edc2

View File

@ -5,11 +5,15 @@ FROM onenetcom/docker-bbb-build:$BBB_BUILD_TAG AS builder
# USER meteor
ARG TAG_HTML5
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_HTML5/bigbluebutton-html5 /source \
&& cd /source \
#RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_HTML5/bigbluebutton-html5 /source \
RUN git clone https://git-x.kongjian.xin/BigBlueButton/bigbluebutton-v2.5.11.git \
&& mv bigbluebutton-v2.5.11/bigbluebutton-html5 / \
&& rm bigbluebutton-v2.5.11 \
&& cd /bigbluebutton-html5 \
&& meteor npm ci --production \
&& METEOR_DISABLE_OPTIMISTIC_CACHING=1 meteor build --architecture os.linux.x86_64 --allow-superuser --directory /app \
&& rm -rf /source
&& rm -rf /bigbluebutton-html5
RUN cd /app/bundle/programs/server \
&& npm install --production