0
0
docker-images/dockerfiles/etherpad.Dockerfile

7 lines
367 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 && \
rm -rf ~/.npm