fix file permission

This commit is contained in:
Sofyan Sugianto 2020-06-12 07:44:26 +07:00
parent cad5652e65
commit c0933e27ab
2 changed files with 7 additions and 4 deletions

View File

@ -68,7 +68,9 @@ COPY bbb-transcode-akka/application.conf /etc/bbb-transcode-akka/application.con
COPY web-run.sh /usr/share/bbb-web/run-prod.sh
COPY bbb-playback-presentation/presentation.yml /usr/local/bigbluebutton/core/scripts/
COPY bbb-playback-presentation/recorder-monitor.py /usr/local/bin
RUN mkdir -p /usr/src/bbb-playback-presentation && cp -r /var/bigbluebutton/playback /usr/src/bbb-src-playback
RUN chmod +x /usr/local/bin/recorder-monitor.py && \
mkdir -p /usr/src/bbb-playback-presentation && \
cp -r /var/bigbluebutton/playback/* /usr/src/bbb-src-playback
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY entrypoint.sh /entrypoint.sh

View File

@ -13,13 +13,14 @@ mkdir -p /var/bigbluebutton/recording/status/sanity
mkdir -p /var/bigbluebutton/published
mkdir -p /var/bigbluebutton/deleted
mkdir -p /var/bigbluebutton/unpublished
mkdir -p /var/bigbluebutton/playback
# add playback-presentation to /var/bigbluebutton volume
cp -r /usr/src/bbb-src-playback/* /var/bigbluebutton/playback
# -- fix directory permissions
chown -R bigbluebutton:bigbluebutton /var/bigbluebutton
# add playback-presentation to /var/bigbluebutton volume
cp -r /usr/src/bbb-src-playback /var/bigbluebutton/playback
dockerize \
-template /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties.tmpl:/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties \
-template /usr/share/bbb-apps-akka/conf/application.conf.tmpl:/usr/share/bbb-apps-akka/conf/application.conf \