Skip to content

Commit

Permalink
chore(gitpod): update gitpod node version (freeCodeCamp#51984)
Browse files Browse the repository at this point in the history
Co-authored-by: Naomi Carrigan <[email protected]>
  • Loading branch information
Muhammed Mustafa and Naomi Carrigan authored Oct 16, 2023
1 parent 39f078f commit f3d16ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM gitpod/workspace-mongodb:latest

# from https://www.gitpod.io/docs/introduction/languages/javascript#node-versions
RUN bash -c 'VERSION="18" \
RUN bash -c 'VERSION="20" \
&& source $HOME/.nvm/nvm.sh && nvm install $VERSION \
&& nvm use $VERSION && nvm alias default $VERSION \
&& npm i -g pnpm@8.6'
&& npm i -g pnpm@8.9'

RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix

0 comments on commit f3d16ab

Please sign in to comment.