From 9a6e0fb0bb397cdd6583a177cb2ba545c44d7f44 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Tue, 6 Feb 2024 20:44:39 +0100 Subject: [PATCH] fix: nvm --- focal-x64/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/focal-x64/Dockerfile b/focal-x64/Dockerfile index 727f9dc..aa02a7b 100644 --- a/focal-x64/Dockerfile +++ b/focal-x64/Dockerfile @@ -69,7 +69,7 @@ RUN apt-get update && apt-get install -y \ # NVM RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash -RUN cat ~/.bashrc && echo $NVM_DIR && bash "$NVM_DIR/nvm.sh" +RUN export NVM_DIR="~/.nvm" && bash "$NVM_DIR/nvm.sh" # Node.js RUN wget https://unofficial-builds.nodejs.org/download/release/v18.19.0/node-v18.19.0-linux-x64-glibc-217.tar.xz