mirror of
https://github.com/Permissionless-Software-Foundation/ipfs-bch-wallet-service.git
synced 2026-09-21 16:52:03 -07:00
fix(Docker): Updated new node.js installation
This commit is contained in:
@@ -12,9 +12,12 @@ RUN apt-get update
|
|||||||
RUN apt-get install -y sudo git curl nano gnupg wget
|
RUN apt-get install -y sudo git curl nano gnupg wget
|
||||||
|
|
||||||
#Install Node and NPM
|
#Install Node and NPM
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh
|
RUN sudo apt-get install -y ca-certificates curl gnupg
|
||||||
RUN bash nodesource_setup.sh
|
RUN sudo mkdir -p /etc/apt/keyrings
|
||||||
RUN apt-get install -y nodejs build-essential
|
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
|
||||||
|
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
|
||||||
|
RUN sudo apt-get update
|
||||||
|
RUN sudo apt-get install -y nodejs build-essential
|
||||||
|
|
||||||
#Create the user 'safeuser' and add them to the sudo group.
|
#Create the user 'safeuser' and add them to the sudo group.
|
||||||
#RUN useradd -ms /bin/bash safeuser
|
#RUN useradd -ms /bin/bash safeuser
|
||||||
|
|||||||
Reference in New Issue
Block a user