anchor.diff:  
   USER etherpad
   
  -WORKDIR /opt/etherpad-lite
  +WORKDIR "${EP_DIR}"
   
   COPY --chown=etherpad:etherpad ./ ./
   
  
positive.code:         ${EP_HOME:+--home-dir "${EP_HOME}"} --create-home \
          ${EP_SHELL:+--shell "${EP_SHELL}"} etherpad
  
  RUN mkdir /opt/etherpad-lite && chown etherpad:etherpad /opt/etherpad-lite
  
  # install abiword for DOC/PDF/ODT export
  RUN [ -z "${INSTALL_ABIWORD}" ] || (apt update && apt -y install abiword && apt clean && rm -rf /var/lib/apt/lists/*)
  
negative.code: RUN for PLUGIN_NAME in ${ETHERPAD_PLUGINS}; do npm install "${PLUGIN_NAME}" || exit 1; done
  
  # Copy the configuration file.
  COPY --chown=etherpad:etherpad ./settings.json.docker "${EP_DIR}"/settings.json
  
  # Fix group permissions
  RUN chmod -R g=u .
  