mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-27 13:11:03 +00:00
14 lines
535 B
Text
14 lines
535 B
Text
|
FROM sharelatex/sharelatex:2.0.0
|
||
|
|
||
|
|
||
|
# Patch 1: Fixes project deletion (https://github.com/overleaf/overleaf/issues/644)
|
||
|
ADD disable_project_history.patch /etc/sharelatex/disable_project_history.patch
|
||
|
RUN cd /etc/sharelatex && \
|
||
|
patch < disable_project_history.patch
|
||
|
|
||
|
|
||
|
# Patch 2: Fixes admin creation via CLI (https://github.com/overleaf/overleaf/issues/647)
|
||
|
ADD create_and_destroy_users.patch /var/www/sharelatex/tasks/create_and_destroy_users.patch
|
||
|
RUN cd /var/www/sharelatex/tasks/ && \
|
||
|
patch < create_and_destroy_users.patch
|