We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c69616f commit 3649537Copy full SHA for 3649537
src/javascript-node/Dockerfile
@@ -6,6 +6,8 @@ ARG USERNAME=node
6
ARG NPM_GLOBAL=/usr/local/share/npm-global
7
8
RUN \
9
+ # Add NPM global to PATH.
10
+ ENV PATH=${NPM_GLOBAL}/bin:${PATH} \
11
# Configure global npm install location, use group to adapt to UID/GID changes
12
if ! cat /etc/group | grep -e "^npm:" > /dev/null 2>&1; then groupadd -r npm; fi \
13
&& usermod -a -G npm ${USERNAME} \
0 commit comments