mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
chore: ensure user is set to 'node' in Dockerfile and devcontainer configuration
This commit is contained in:
@@ -14,3 +14,5 @@ RUN corepack enable \
|
|||||||
&& mkdir -p ${PNPM_HOME} ${PNPM_GLOBAL_BIN} \
|
&& mkdir -p ${PNPM_HOME} ${PNPM_GLOBAL_BIN} \
|
||||||
&& chown -R node:node /home/node/.local \
|
&& chown -R node:node /home/node/.local \
|
||||||
&& su node -c "pnpm config set global-bin-dir ${PNPM_GLOBAL_BIN} && pnpm add --global nx@${NX_VERSION}"
|
&& su node -c "pnpm config set global-bin-dir ${PNPM_GLOBAL_BIN} && pnpm add --global nx@${NX_VERSION}"
|
||||||
|
|
||||||
|
USER node
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
// "features": {},
|
// "features": {},
|
||||||
|
|
||||||
"remoteUser": "node",
|
"remoteUser": "node",
|
||||||
|
"containerUser": "node",
|
||||||
"updateRemoteUserUID": true,
|
"updateRemoteUserUID": true,
|
||||||
"overrideCommand": true,
|
"overrideCommand": true,
|
||||||
"init": true,
|
"init": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user