更新 'mod/html5/Dockerfile'

main
zhongjin 2 years ago
parent 774ae3ac05
commit 6a7388edc2

@ -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

Loading…
Cancel
Save