From 08fa1bc95cc86c8ba201409884a160f16dd54b56 Mon Sep 17 00:00:00 2001 From: Aivan Monceller Date: Mon, 10 Oct 2016 01:06:10 +0800 Subject: [PATCH] fix for issue #347 --- workspace/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workspace/Dockerfile b/workspace/Dockerfile index c63f90b1..67d14070 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -150,7 +150,7 @@ ENV NVM_DIR /home/laradock/.nvm RUN if [ ${INSTALL_NODE} = true ]; then \ # Install nvm (A Node Version Manager) curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.6/install.sh | bash && \ - . ~/.nvm/nvm.sh && \ + . $NVM_DIR/nvm.sh && \ nvm install ${NODE_VERSION} && \ nvm use ${NODE_VERSION} && \ nvm alias ${NODE_VERSION} && \