Skip to content

Commit

Permalink
code(container file): fix install nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
jortfal authored Jun 1, 2024
1 parent c895d3e commit c7604d6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .ContainerFile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ RUN \

# Install nvm (Node Version Manager)
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/$NVM_VERSION/install.sh | bash
RUN export NVM_DIR="$HOME/.nvm" && \. "$NVM_DIR/nvm.sh" && \. "$NVM_DIR/bash_completion"

# Download and install Node.js
RUN nvm install $NODEJS_VERSION
RUN export NVM_DIR="$HOME/.nvm" && \
\. "$NVM_DIR/nvm.sh" && \
\. "$NVM_DIR/bash_completion" && \
# Download and install Node.js
nvm install $NODEJS_VERSION

0 comments on commit c7604d6

Please sign in to comment.