Skip to content

Commit

Permalink
Remove NVM and node & fix env
Browse files Browse the repository at this point in the history
  • Loading branch information
Antony1060 committed Jan 16, 2024
1 parent d80c04f commit 76beb6c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 76beb6c

Please sign in to comment.