File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -276,6 +276,9 @@ RUN if [ ${INSTALL_NODE} = true ]; then \
276276 echo '[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm' >> ~/.bashrc \
277277;fi
278278
279+ # Add PATH for node
280+ ENV PATH $PATH:$NVM_DIR/versions/node/v${NODE_VERSION}/bin
281+
279282#####################################
280283# YARN:
281284#####################################
Original file line number Diff line number Diff line change @@ -276,6 +276,9 @@ RUN if [ ${INSTALL_NODE} = true ]; then \
276276 echo '[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm' >> ~/.bashrc \
277277;fi
278278
279+ # Add PATH for node
280+ ENV PATH $PATH:$NVM_DIR/versions/node/v${NODE_VERSION}/bin
281+
279282#####################################
280283# YARN:
281284#####################################
Original file line number Diff line number Diff line change @@ -273,6 +273,10 @@ RUN if [ ${INSTALL_NODE} = true ]; then \
273273 echo '[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm' >> ~/.bashrc \
274274;fi
275275
276+ # Add PATH for node
277+ ENV PATH $PATH:$NVM_DIR/versions/node/v${NODE_VERSION}/bin
278+
279+
276280#####################################
277281# YARN:
278282#####################################
You can’t perform that action at this time.
0 commit comments