overleaf/server-ce/hotfix/4.2.8/Dockerfile
Miguel Serrano e08057828f [CE/SP] Hotfix 5.1.1 and 4.2.8 (#19771)
* [CE/SP] Hotfix 5.1.1 and 4.2.8

* Add script to build hotfix releases

GitOrigin-RevId: 8ece5e5fd5ec360b66069ce774319511ed82a13a
2024-08-14 08:05:03 +00:00

11 lines
344 B
Docker

FROM sharelatex/sharelatex:4.2.7
# Fix crash on on invalid URLs
COPY pr_19612.patch .
RUN patch -p1 < pr_19612.patch && rm pr_19612.patch
COPY pr_19550.patch .
RUN patch -p1 < pr_19550.patch && rm pr_19550.patch
COPY is_19575.patch /etc/nginx/sites-enabled/
RUN cd /etc/nginx/sites-enabled && patch -p0 < is_19575.patch && rm is_19575.patch