diff --git a/Dockerfile b/Dockerfile index dae773e3..a176b865 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM ghcr.io/vikashloomba/capmvm-k8s-os:1.23.5 -RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash && \ - export NVM_DIR="$HOME/.nvm" && \ - nvm install 20 +RUN curl -fsSL https://fnm.vercel.app/install | bash +RUN source ~/.bashrc +RUN fnm use --install-if-missing 20 # Update npm to latest RUN npm install -g npm@latest