forked from extern/docker
648a9b1a07
- accidently changed the wrong npm package when switching from ep_delete_after_delay_lite to ep_pad_ttl - ep_bigbluebutton_patches got somehow not loaded when not installed via `npm install` and therefore not included in `package-lock.json`
24 lines
786 B
Docker
24 lines
786 B
Docker
FROM etherpad/etherpad:1.8.10
|
|
|
|
USER root
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y git
|
|
|
|
USER etherpad
|
|
|
|
RUN npm install \
|
|
git+https://git@github.com/pedrobmarin/ep_pad_ttl.git \
|
|
git+https://git@github.com/pedrobmarin/ep_redis_publisher.git \
|
|
# remove npm lockfile, because somehow it prevents etherpad from detecting the manual added plugin ep_bigbluebutton_patches
|
|
&& rm package-lock.json
|
|
|
|
# add skin from git submodule
|
|
COPY --chown=etherpad:0 ./bbb-etherpad-skin /opt/etherpad-lite/src/static/skins/bigbluebutton
|
|
|
|
# add plugin from git submodule
|
|
COPY --chown=etherpad:0 ./bbb-etherpad-plugin /opt/etherpad-lite/node_modules/ep_bigbluebutton_patches
|
|
|
|
COPY settings.json /opt/etherpad-lite/settings.json
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
ENTRYPOINT ["/entrypoint.sh"] |