mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
* [monorepo] move building of nginx proxy into Makefile * [v1] add fake-secrets.env * [github] add copilot-setup-steps.yml workflow * [make] debug permissions * [monorepo] use the host uid/gid for monorepo service * [web] populate DOCKER_USER for test_frontend_ct * [github] run npm install outside docker in Copilot sandbox * [monorepo] add comment for building nginx-proxy image locally * [monorepo] change uid/gid of node user in cypress image * [monorepo] low-level rewrite of passwd and groups to match host user GitOrigin-RevId: d74a5801f0318bab7e7f460374255426706002a3
13 lines
343 B
Docker
13 lines
343 B
Docker
FROM cypress/included:13.13.2
|
|
ARG USER_UID=1000
|
|
ARG USER_GID=1000
|
|
|
|
WORKDIR /overleaf
|
|
|
|
RUN 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
|