From 76beb6ccd1567a030ecbc8bd9f78a38d259f275d Mon Sep 17 00:00:00 2001 From: "Antonio F. Trstenjak" Date: Tue, 16 Jan 2024 18:47:20 +0100 Subject: [PATCH] Remove NVM and node & fix env --- Dockerfile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 97f8fe4..e76ca96 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,11 +14,4 @@ RUN bash -c "bash <(curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs) - # Install Bun RUN curl -fsSL https://bun.sh/install | bash -# Install Nvm -RUN curl https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash - -# Install Node -RUN bash -c 'source ~/.nvm/nvm.sh && for version in stable v20 v18 v16; do nvm install $version; done' - -# Install pnpm and yarn -RUN bash -c 'source ~/.nvm/nvm.sh && nvm use stable && npm install -g pnpm yarn' +ENV PATH="${PATH}:~/.bun/bin:~/.cargo/bin"