Просмотр исходного кода

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

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

GitOrigin-RevId: 4e53f8af15f009d5e7c44d00b87b7592b6175541
Jakob Ackermann 3 лет назад
Родитель
Сommit
856e1e4025

+ 1 - 0
services/chat/Dockerfile

@@ -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
 

+ 1 - 0
services/clsi/Dockerfile

@@ -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
 

+ 1 - 0
services/contacts/Dockerfile

@@ -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
 

+ 1 - 0
services/docstore/Dockerfile

@@ -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
 

+ 1 - 0
services/document-updater/Dockerfile

@@ -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
 

+ 1 - 0
services/filestore/Dockerfile

@@ -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
 

+ 1 - 0
services/history-v1/Dockerfile

@@ -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
 

+ 1 - 0
services/notifications/Dockerfile

@@ -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
 

+ 1 - 0
services/project-history/Dockerfile

@@ -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
 

+ 1 - 0
services/real-time/Dockerfile

@@ -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
 

+ 1 - 0
services/spelling/Dockerfile

@@ -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
 

+ 1 - 0
services/track-changes/Dockerfile

@@ -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