diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile index 08c05060f6595..fd033b2108c22 100644 --- a/.gitpod.Dockerfile +++ b/.gitpod.Dockerfile @@ -1,3 +1,8 @@ FROM gitpod/workspace-full +ADD .nvmrc . +RUN bash -c 'source $HOME/.nvm/nvm.sh && nvm install && nvm use' + +RUN echo "nvm use &>/dev/null" >> ~/.bashrc.d/51-nvm-fix + RUN npm -g install gatsby-dev-cli