Dockerfile 861 B

12345678910111213141516171819202122
  1. FROM sharelatex/sharelatex:5.5.1
  2. # https://github.com/overleaf/internal/pull/25944
  3. # Removed changes to services/web/frontend/js/features/ide-redesign/components/rail.tsx due to incompatibility with 5.5.1
  4. COPY pr_25944.patch .
  5. RUN patch -p1 < pr_25944.patch && rm pr_25944.patch
  6. # https://github.com/overleaf/internal/pull/26637
  7. # Removed changes to server-ce/test/create-and-compile-project.spec.ts and server-ce/test/helpers/compile.ts due to incompatibility with 5.5.1
  8. COPY pr_26637.patch .
  9. RUN patch -p1 < pr_26637.patch && rm pr_26637.patch
  10. # https://github.com/overleaf/internal/pull/26783
  11. COPY pr_26783.patch .
  12. RUN patch -p1 < pr_26783.patch && rm pr_26783.patch
  13. # https://github.com/overleaf/internal/pull/26697
  14. COPY pr_26697.patch .
  15. RUN patch -p1 < pr_26697.patch && rm pr_26697.patch
  16. # Recompile frontend assets
  17. RUN node genScript compile | bash