0
0
docker-images/dockerfiles/etherpad.Dockerfile
Opnxng 5fa7ca9978
Some checks failed
etherpad / build (push) Successful in 7m43s
caddy / build (push) Failing after 38m9s
wolfree / build (push) Failing after 9s
simplytranslate / build (push) Failing after 10s
searxng / build-searxng (push) Successful in 1h12m18s
rat-aint-tieba / build (push) Failing after 16s
proxigram / build (push) Failing after 7m15s
imgin / build (push) Failing after 9s
binternet / build (push) Failing after 10s
Updated Etherpad
2024-06-09 11:04:39 +08:00

8 lines
522 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 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