mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
[monorepo] Try to get make install working in copilot (#32800)
* [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
This commit is contained in:
12
dockerfiles/cypress/Dockerfile
Normal file
12
dockerfiles/cypress/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
||||
Reference in New Issue
Block a user