overleaf/server-ce/hotfix/5.0.3/Dockerfile
Miguel Serrano f3ccafee94 [CE/SP] Hotfix 5.0.3 (#18075)
* [CE/SP] Hotfix 5.0.3

* [CE/SP] Apply hotfix changes to init script

There's some divergences in the current state of
910_initiate_doc_version_recovery in server-ce/init_scripts
and 5.0.2 hotfix. With this change we ensure the same content
in server-ce/init_scripts and the current hotfix

* Updated patch for recover_doc_versions.js

GitOrigin-RevId: 175af6b3ac584575764cbd03a5105c6933618c28
2024-04-25 08:04:38 +00:00

7 lines
338 B
Docker

FROM sharelatex/sharelatex:5.0.2-RC6
# Patch: https://github.com/overleaf/internal/pull/18065
RUN npm install @overleaf/redis-wrapper @overleaf/settings -w services/history-v1
ADD 910_initiate_doc_version_recovery /etc/my_init.d/910_initiate_doc_version_recovery
COPY pr_18065.patch .
RUN patch -p0 < pr_18065.patch && rm pr_18065.patch