mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
Merge pull request #6542 from overleaf/jpa-em-code-sharing-workspaces
[misc] npm workspaces GitOrigin-RevId: 87aa72db6637fb238d7cd35b0a48ac3ed58ab3eb
This commit is contained in:
@@ -11,6 +11,8 @@ WORKDIR /overleaf
|
||||
# -------------------------
|
||||
ADD server-ce/genScript.js /overleaf/genScript.js
|
||||
ADD server-ce/services.js /overleaf/services.js
|
||||
ADD package.json package-lock.json /overleaf/
|
||||
ADD libraries/ /overleaf/libraries/
|
||||
ADD services/ /overleaf/services/
|
||||
|
||||
# Store the revision
|
||||
@@ -18,6 +20,10 @@ ADD services/ /overleaf/services/
|
||||
ARG MONOREPO_REVISION
|
||||
RUN echo "monorepo-server-ce,$MONOREPO_REVISION" > /var/www/revisions.txt
|
||||
|
||||
# Upgrade npm for workspaces support
|
||||
# ----------------------------------
|
||||
RUN npm install -g npm@7.24.2
|
||||
|
||||
# Install npm dependencies
|
||||
# ------------------------
|
||||
RUN node genScript install | bash
|
||||
|
||||
Reference in New Issue
Block a user