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 \