0
0
docker-images/dockerfiles/etherpad.Dockerfile
Opnxng 7159a4af8b
Some checks failed
etherpad / build (push) Failing after 6m30s
Etherpad: added ep_adminpads3 plugin
2024-06-09 10:47:10 +08:00

8 lines
382 B
Docker
Executable File

FROM etherpad/etherpad:latest
ARG ETHERPAD_PLUGINS="ep_font_color ep_spellcheck ep_font_size ep_image_upload ep_embedded_hyperlinks2 ep_adminpads2"
RUN sed -i '/#innerdocbody {/a \ \ font-size: 18px;' ./src/static/css/iframe_editor.css
RUN { [ -z "${ETHERPAD_PLUGINS}" ] || \
npm install --no-save ${ETHERPAD_PLUGINS}; } && \
src/bin/installDeps.sh && \
rm -rf ~/.npm