RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor-o /etc/apt/keyrings/nodesource.gpg
RUN echo"deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
RUN apt-get update &&sudo apt-get install nodejs -y
# Installing nodejs
RUN apt-get -yinstall curl
RUN curl --silent--location https://deb.nodesource.com/setup_16.x |sudo bash -
RUN apt-get -yinstall nodejs
# Add user partemix with no password, add to sudo group
@@ -26,11 +26,16 @@ RUN apt-get install -y build-essential \
tcl-dev \
wget
RUN apt-get install-y ca-certificates curl gnupg
RUN mkdir-p /etc/apt/keyrings
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor-o /etc/apt/keyrings/nodesource.gpg
RUN echo"deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
RUN apt-get update &&sudo apt-get install nodejs -y
# Installing nodejs
RUN apt-get -yinstall curl
RUN curl --silent--location https://deb.nodesource.com/setup_16.x |sudo bash -
RUN apt-get -yinstall nodejs
RUN npm install npm@latest -g
#RUN npm config set registry http://registry.npmjs.org/ --global