mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
Add with-texlive target to clsi Dockerfile (#31625)
GitOrigin-RevId: f2a971c761f09974921bf043e1f4959c63107dd8
This commit is contained in:
@@ -39,6 +39,18 @@ COPY libraries/settings/ /overleaf/libraries/settings/
|
||||
COPY libraries/stream-utils/ /overleaf/libraries/stream-utils/
|
||||
COPY services/clsi/ /overleaf/services/clsi/
|
||||
|
||||
FROM app AS with-texlive
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-cache depends texlive-full | grep "Depends: " | grep -v -- "-doc" | grep -v -- "-lang-" | sed 's/Depends: //' | xargs apt-get install -y --no-install-recommends \
|
||||
&& apt-get install -y --no-install-recommends fontconfig inkscape python3-pygments qpdf \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN mkdir -p cache compiles output \
|
||||
&& chown node:node cache compiles output
|
||||
|
||||
CMD ["node", "--expose-gc", "app.js"]
|
||||
|
||||
FROM app
|
||||
RUN mkdir -p cache compiles output \
|
||||
&& chown node:node cache compiles output
|
||||
|
||||
Reference in New Issue
Block a user