0
0
docker-images/dockerfiles/etherpad.Dockerfile
Opnxng 86a742a388
Some checks failed
etherpad / build (push) Failing after 6m52s
Etherpad: added ep_adminpads3 plugin
2024-06-09 10:27:20 +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_adminpads3"
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