Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Simoneu01 authored Jan 14, 2024
1 parent f3abba2 commit 115d652
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ USER runner
# Install NodeJS and NPM
ENV NODE_VERSION=20.11.0
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
ENV NVM_DIR=/runner/.nvm
RUN source ~/.bashrc && nvm install ${NODE_VERSION}
RUN nvm use v${NODE_VERSION}
RUN nvm alias default v${NODE_VERSION}
RUN source ~/.nvm/nvm.sh && nvm install ${NODE_VERSION} && nvm use ${NODE_VERSION} && nvm alias default v${NODE_VERSION}
RUN node --version
RUN npm --version

0 comments on commit 115d652

Please sign in to comment.