From a3495bad37dfb038a7d9ce0961fd07087cbef640 Mon Sep 17 00:00:00 2001 From: vista Date: Thu, 16 Mar 2023 11:30:08 +0100 Subject: [PATCH] fix nvm --- build/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build/Dockerfile b/build/Dockerfile index d74ebbb..0d41c04 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -13,9 +13,8 @@ RUN export DEBIAN_FRONTEND=noninteractive && apt-get -y update \ && chmod +x /usr/local/bin/start-container \ && echo "install nvm and node" \ && curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash \ - && bash $HOME/.nvm/nvm.sh \ && if [ -z "$NODE_VERSION" ]; then NODE_VERSION="node"; fi \ - && nvm install $NODE_VERSION \ + && bash $HOME/.nvm/nvm.sh install $NODE_VERSION \ && echo "install composer" \ && curl -o composer-setup.php https://getcomposer.org/installer \ && curl -o composer-setup.sig https://composer.github.io/installer.sig \