Skip to content

Commit f82d1e1

Browse files
committed
oops
1 parent 3649537 commit f82d1e1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/javascript-node/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ FROM node:${VARIANT}
55
ARG USERNAME=node
66
ARG NPM_GLOBAL=/usr/local/share/npm-global
77

8+
# Add NPM global to PATH.
9+
ENV PATH=${NPM_GLOBAL}/bin:${PATH}
10+
811
RUN \
9-
# Add NPM global to PATH.
10-
ENV PATH=${NPM_GLOBAL}/bin:${PATH} \
1112
# Configure global npm install location, use group to adapt to UID/GID changes
1213
if ! cat /etc/group | grep -e "^npm:" > /dev/null 2>&1; then groupadd -r npm; fi \
1314
&& usermod -a -G npm ${USERNAME} \

0 commit comments

Comments
 (0)