We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc73e01 commit 3e1904bCopy full SHA for 3e1904b
1 file changed
Dockerfile
@@ -71,13 +71,15 @@ RUN sudo apt-get install -y inotify-tools
71
# Create a script file sourced by both interactive and non-interactive bash shells
72
ENV BASH_ENV /home/coder/.bash_env
73
# Setup NVM:
74
+RUN mkdir -p /usr/local/nvm
75
ENV NVM_DIR /usr/local/nvm
76
ENV NODE_VERSION --lts
77
RUN touch "${BASH_ENV}"
78
RUN echo '. "${BASH_ENV}"' >> ~/.bashrc
79
+RUN cat ~/.bashrc
80
81
# Download and install nvm
-RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | PROFILE="${BASH_ENV}" bash
82
+RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | PROFILE="/home/coder/.bash_env" bash
83
RUN echo node > .nvmrc
84
RUN nvm install
85
0 commit comments