Skip to content

Commit 2396b47

Browse files
authored
Merge pull request laradock#350 from geocine/cannot-open-nvm-sh-fix
fix for issue laradock#347
2 parents 2415566 + 08fa1bc commit 2396b47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

workspace/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ ENV NVM_DIR /home/laradock/.nvm
150150
RUN if [ ${INSTALL_NODE} = true ]; then \
151151
# Install nvm (A Node Version Manager)
152152
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.6/install.sh | bash && \
153-
. ~/.nvm/nvm.sh && \
153+
. $NVM_DIR/nvm.sh && \
154154
nvm install ${NODE_VERSION} && \
155155
nvm use ${NODE_VERSION} && \
156156
nvm alias ${NODE_VERSION} && \

0 commit comments

Comments
 (0)