diff --git a/mod/core/Dockerfile b/mod/core/Dockerfile index 381c04d..7778251 100644 --- a/mod/core/Dockerfile +++ b/mod/core/Dockerfile @@ -58,8 +58,6 @@ RUN find /etc/systemd/ | grep wants | xargs -r -n 1 basename | grep service | gr RUN systemctl disable systemd-journal-flush systemd-update-utmp.service RUN systemctl enable red5 freeswitch bbb-apps-akka bbb-transcode-akka bbb-fsesl-akka bbb-web # bbb-rap-caption-inbox -# -- fix directory permissions -RUN chown bigbluebutton:bigbluebutton /var/bigbluebutton COPY entrypoint.sh /entrypoint.sh diff --git a/mod/core/entrypoint.sh b/mod/core/entrypoint.sh index 516c39d..28c4428 100755 --- a/mod/core/entrypoint.sh +++ b/mod/core/entrypoint.sh @@ -15,6 +15,8 @@ mkdir -p /var/bigbluebutton/published mkdir -p /var/bigbluebutton/deleted mkdir -p /var/bigbluebutton/unpublished +# -- fix directory permissions +RUN chown bigbluebutton:bigbluebutton /var/bigbluebutton dockerize \ -template /opt/freeswitch/conf/vars.xml.tmpl:/opt/freeswitch/conf/vars.xml \