mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2025-07-25 11:00:07 +02:00

* [CE/SP] Hotfix 5.3.1 * Added mongoose upgrade for services/templates * Fix mongodb transitive dependency * cleaned npm cache and /tmp GitOrigin-RevId: 139cf7776ba053c3763613cc3a6cdea4dfd3db44
14 lines
484 B
Docker
14 lines
484 B
Docker
FROM sharelatex/sharelatex:5.3.0
|
|
|
|
# Update copyright year
|
|
COPY pr_22950.patch .
|
|
RUN patch -p0 < pr_22950.patch && rm pr_22950.patch
|
|
|
|
|
|
# Update Mongoose
|
|
RUN npm install mongoose@^8.9.5 --save -w services/web \
|
|
&& npm install mongodb@6.12.0 --save \
|
|
-w services/chat -w services/contacts -w services/docstore \
|
|
-w services/history-v1 -w libraries/mongo-utils \
|
|
&& npm install mongodb@6.12.0 --save \
|
|
&& rm -rf /root/.cache /root/.npm $(find /tmp/ -mindepth 1 -maxdepth 1)
|