Dockerfile 535 B

12345678910111213
  1. FROM sharelatex/sharelatex:2.0.0
  2. # Patch 1: Fixes project deletion (https://github.com/overleaf/overleaf/issues/644)
  3. ADD disable_project_history.patch /etc/sharelatex/disable_project_history.patch
  4. RUN cd /etc/sharelatex && \
  5. patch < disable_project_history.patch
  6. # Patch 2: Fixes admin creation via CLI (https://github.com/overleaf/overleaf/issues/647)
  7. ADD create_and_destroy_users.patch /var/www/sharelatex/tasks/create_and_destroy_users.patch
  8. RUN cd /var/www/sharelatex/tasks/ && \
  9. patch < create_and_destroy_users.patch