mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
Migrates the Overleaf monorepo package manager from npm (v11) to Yarn 4 (v4.9.1) using node-modules linker mode. GitOrigin-RevId: 50d32ab01955c15e29679eff9e9e9cfb897fab2d
14 lines
365 B
Docker
14 lines
365 B
Docker
FROM cypress/included:15.12.0
|
|
ARG USER_UID=1000
|
|
ARG USER_GID=1000
|
|
|
|
WORKDIR /overleaf
|
|
|
|
RUN corepack enable \
|
|
&& sed -i s/node:x:1000:/node:x:${USER_GID}:/ /etc/group \
|
|
&& sed -i s_node:x:1000:1000::/home/node:/bin/bash_node:x:${USER_UID}:${USER_GID}::/home/node:/bin/bash_ /etc/passwd \
|
|
&& chown -R node:node /home/node \
|
|
&& chown node:node /overleaf
|
|
|
|
USER node
|