0
0
docker-images/dockerfiles/etherpad.Dockerfile

8 lines
368 B
Docker
Raw Normal View History

2023-11-04 06:38:42 +08:00
FROM etherpad/etherpad:latest
ARG ETHERPAD_PLUGINS="ep_font_color ep_spellcheck ep_font_size ep_image_upload ep_embedded_hyperlinks2"
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 && \
2024-06-08 00:46:54 +08:00
rm -rf ~/.npm