Skip to content

Commit

Permalink
fix(NodeJS): Fix nodejs v8 not found error
Browse files Browse the repository at this point in the history
  • Loading branch information
hypery2k committed Feb 12, 2019
1 parent 8c130f8 commit 409744f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RUN export NVM_DIR="$HOME/.nvm" && mkdir -p $NVM_DIR && \
chmod +x $HOME/.nvm/nvm.sh && \
echo "export NVM_DIR=\"$HOME/.nvm\"" >> ~/.bashrc && \
echo "[ -s \"$NVM_DIR/nvm.sh\" ] && \. \"$NVM_DIR/nvm.sh\" # This loads nvm" >> ~/.bashrc && \
source $NVM_DIR/nvm.sh && nvm install v10 && nvm use v10 && \
source $NVM_DIR/nvm.sh && nvm install v8 && nvm install v10 && nvm use v10 && \
chown -R default $HOME && \
rm -rf $HOME/node_modules/ && cd $HOME && npm i && \
/usr/bin/fix-permissions ${NVM_DIR}/* && /usr/bin/fix-permissions ${HOME}/* && \
Expand Down

0 comments on commit 409744f

Please sign in to comment.