mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 21:23:45 +01:00
PNP deployment: clsi-lb, web, latexqc fixes (#34696)
GitOrigin-RevId: fe1f5a7670d6fcf2128c5e2b50cc2a544afb1ebc
This commit is contained in:
committed by
Copybot
parent
8f07308342
commit
e1226515f6
@@ -35,7 +35,7 @@ FROM base AS deps-prod
|
||||
COPY services/web/scripts/fetch-pyodide-packages.mjs /overleaf/services/web/scripts/fetch-pyodide-packages.mjs
|
||||
RUN cd /overleaf/services/web && node scripts/fetch-pyodide-packages.mjs
|
||||
|
||||
COPY package.json yarn.lock .yarnrc.yml /overleaf/
|
||||
COPY package.json yarn.lock .yarnrc.yml .pnp.register.mjs /overleaf/
|
||||
COPY libraries/access-token-encryptor/package.json /overleaf/libraries/access-token-encryptor/package.json
|
||||
COPY libraries/eslint-plugin/package.json /overleaf/libraries/eslint-plugin/package.json
|
||||
COPY libraries/fetch-utils/package.json /overleaf/libraries/fetch-utils/package.json
|
||||
@@ -132,6 +132,7 @@ COPY tools/migrations/ /overleaf/tools/migrations/
|
||||
RUN rm /overleaf/services/web/modules/server-ce-scripts -rf
|
||||
RUN OVERLEAF_CONFIG=/overleaf/services/web/config/settings.overrides.saas.js nice yarn run precompile-pug
|
||||
|
||||
ENV NODE_OPTIONS="--require /overleaf/.pnp.cjs --import /overleaf/.pnp.register.mjs"
|
||||
|
||||
# the web image with only production dependencies but no webpack production build, for development
|
||||
FROM pug AS app-only
|
||||
|
||||
@@ -47,8 +47,8 @@ async function main() {
|
||||
{
|
||||
// run from services/web directory
|
||||
cwd: Path.join(__dirname, '../../'),
|
||||
// 1GB
|
||||
maxBuffer: 1024 * 1024 * 1024,
|
||||
// 2GB
|
||||
maxBuffer: 2 * 1024 * 1024 * 1024,
|
||||
// Docs: https://nodejs.org/docs/latest-v16.x/api/child_process.html#child_process_options_stdio
|
||||
// Entries are [stdin, stdout, stderr]
|
||||
stdio: ['ignore', 'pipe', 'inherit'],
|
||||
|
||||
Reference in New Issue
Block a user