Merge pull request #12935 from overleaf/jpa-include-patches

[misc] make npm package patches available to all the services

GitOrigin-RevId: 4e53f8af15f009d5e7c44d00b87b7592b6175541
This commit is contained in:
Jakob Ackermann 2023-05-04 09:51:40 +01:00 committed by Copybot
parent 7d1d34726e
commit 856e1e4025
12 changed files with 12 additions and 0 deletions

View file

@ -15,6 +15,7 @@ FROM base as app
COPY package.json package-lock.json /overleaf/
COPY services/chat/package.json /overleaf/services/chat/
COPY libraries/ /overleaf/libraries/
COPY patches/ /overleaf/patches/
RUN cd /overleaf && npm ci --quiet

View file

@ -19,6 +19,7 @@ FROM base as app
COPY package.json package-lock.json /overleaf/
COPY services/clsi/package.json /overleaf/services/clsi/
COPY libraries/ /overleaf/libraries/
COPY patches/ /overleaf/patches/
RUN cd /overleaf && npm ci --quiet

View file

@ -15,6 +15,7 @@ FROM base as app
COPY package.json package-lock.json /overleaf/
COPY services/contacts/package.json /overleaf/services/contacts/
COPY libraries/ /overleaf/libraries/
COPY patches/ /overleaf/patches/
RUN cd /overleaf && npm ci --quiet

View file

@ -15,6 +15,7 @@ FROM base as app
COPY package.json package-lock.json /overleaf/
COPY services/docstore/package.json /overleaf/services/docstore/
COPY libraries/ /overleaf/libraries/
COPY patches/ /overleaf/patches/
RUN cd /overleaf && npm ci --quiet

View file

@ -15,6 +15,7 @@ FROM base as app
COPY package.json package-lock.json /overleaf/
COPY services/document-updater/package.json /overleaf/services/document-updater/
COPY libraries/ /overleaf/libraries/
COPY patches/ /overleaf/patches/
RUN cd /overleaf && npm ci --quiet

View file

@ -17,6 +17,7 @@ FROM base as app
COPY package.json package-lock.json /overleaf/
COPY services/filestore/package.json /overleaf/services/filestore/
COPY libraries/ /overleaf/libraries/
COPY patches/ /overleaf/patches/
RUN cd /overleaf && npm ci --quiet

View file

@ -18,6 +18,7 @@ FROM base as app
COPY package.json package-lock.json /overleaf/
COPY services/history-v1/package.json /overleaf/services/history-v1/
COPY libraries/ /overleaf/libraries/
COPY patches/ /overleaf/patches/
RUN cd /overleaf && npm ci --quiet

View file

@ -15,6 +15,7 @@ FROM base as app
COPY package.json package-lock.json /overleaf/
COPY services/notifications/package.json /overleaf/services/notifications/
COPY libraries/ /overleaf/libraries/
COPY patches/ /overleaf/patches/
RUN cd /overleaf && npm ci --quiet

View file

@ -15,6 +15,7 @@ FROM base as app
COPY package.json package-lock.json /overleaf/
COPY services/project-history/package.json /overleaf/services/project-history/
COPY libraries/ /overleaf/libraries/
COPY patches/ /overleaf/patches/
RUN cd /overleaf && npm ci --quiet

View file

@ -15,6 +15,7 @@ FROM base as app
COPY package.json package-lock.json /overleaf/
COPY services/real-time/package.json /overleaf/services/real-time/
COPY libraries/ /overleaf/libraries/
COPY patches/ /overleaf/patches/
RUN cd /overleaf && npm ci --quiet

View file

@ -17,6 +17,7 @@ FROM base as app
COPY package.json package-lock.json /overleaf/
COPY services/spelling/package.json /overleaf/services/spelling/
COPY libraries/ /overleaf/libraries/
COPY patches/ /overleaf/patches/
RUN cd /overleaf && npm ci --quiet

View file

@ -15,6 +15,7 @@ FROM base as app
COPY package.json package-lock.json /overleaf/
COPY services/track-changes/package.json /overleaf/services/track-changes/
COPY libraries/ /overleaf/libraries/
COPY patches/ /overleaf/patches/
RUN cd /overleaf && npm ci --quiet