0
0
docker-images/dockerfiles/etherpad.Dockerfile

8 lines
522 B
Docker
Raw Permalink Normal View History

2023-11-04 06:38:42 +08:00
FROM etherpad/etherpad:latest
2024-06-09 11:04:39 +08:00
ARG ETHERPAD_PLUGINS="ep_font_color ep_spellcheck ep_font_size ep_image_upload ep_embedded_hyperlinks2 ep_adminpads3"
2023-11-04 06:38:42 +08:00
RUN sed -i '/#innerdocbody {/a \ \ font-size: 18px;' ./src/static/css/iframe_editor.css
2024-06-09 11:04:39 +08:00
RUN bin/installDeps.sh && rm -rf ~/.npm && rm -rf ~/.local && rm -rf ~/.cache && \
if [ ! -z "${ETHERPAD_PLUGINS}" ] || [ ! -z "${ETHERPAD_LOCAL_PLUGINS}" ]; then \
pnpm run plugins i ${ETHERPAD_PLUGINS} ${ETHERPAD_LOCAL_PLUGINS:+--path ${ETHERPAD_LOCAL_PLUGINS}}; \
fi