Skip to content
Snippets Groups Projects
Verified Commit e400f65f authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

[Etherpad] Create pad backups in Dockerfile

This will fix permissions issues : a Docker Volume mounted on a non-existing directory will be owned by root, but we run Etherpad as etherpad. As such we have no way of writing in the mounted directory
parent 6bf2d96a
No related branches found
No related tags found
No related merge requests found
Pipeline #63815 failed
......@@ -66,6 +66,9 @@ RUN apt-get update && \
chown -R etherpad /opt/etherpad-lite && \
rm -rf /var/lib/apt/lists/*
RUN mkdir /opt/etherpad-lite/deleted_pads && \
chown -R etherpad:etherpad /opt/etherpad-lite/deleted_pads
EXPOSE 8080
HEALTHCHECK --interval=20s --timeout=3s CMD curl --fail http://localhost:8080 || exit 1
WORKDIR /opt/etherpad-lite/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment