overleaf/server-ce/hotfix/5.0.1/Dockerfile
Miguel Serrano b84e76b201 Merge pull request #17627 from overleaf/msm-sp-hotfix-5_0_1
[CE/SP] Hotfix 5.0.1

GitOrigin-RevId: ce193b9c7ad7988547289bddb4e8e63d4c718371
2024-04-02 08:03:53 +00:00

17 lines
722 B
Docker

FROM sharelatex/sharelatex:5.0.0-RC4
# Bugfix: Grammarly ad shouldn't be displayed in Overleaf CE
COPY pr_17625.patch .
RUN patch -p0 < pr_17625.patch
# Patch: force services to use ipv4 in server-ce container
ADD env.sh /etc/overleaf/env.sh
COPY pr_17601-1.patch /etc/overleaf/
RUN cd /etc/overleaf && patch -p0 < pr_17601-1.patch && rm pr_17601-1.patch
COPY pr_17601-2.patch /overleaf/cron/
RUN cd /overleaf/cron && patch -p0 < pr_17601-2.patch && rm pr_17601-2.patch
COPY pr_17601-3.patch /etc/nginx/sites-enabled/
RUN cd /etc/nginx/sites-enabled && patch -p0 < pr_17601-3.patch && rm pr_17601-3.patch
COPY pr_17601-4.patch /etc/service/
RUN cd /etc/service && patch -p0 < pr_17601-4.patch && rm pr_17601-4.patch