Merge pull request #122 from gOOvER/npmupdate

Nodejs / add npm install npm@latest -g
This commit is contained in:
Michael (Parker) Parker
2023-01-27 14:17:02 -05:00
committed by GitHub
5 changed files with 10 additions and 0 deletions

View File

@@ -7,6 +7,8 @@ RUN apt update \
&& npm -g install npm@latest \
&& useradd -m -d /home/container container
RUN npm install npm@latest -g
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container

View File

@@ -7,6 +7,8 @@ RUN apt update \
&& npm -g install npm@latest \
&& useradd -m -d /home/container container
RUN npm install npm@latest -g
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container

View File

@@ -7,6 +7,8 @@ RUN apt update \
&& npm -g install npm@latest \
&& useradd -m -d /home/container container
RUN npm install npm@latest -g
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container

View File

@@ -7,6 +7,8 @@ RUN apt update \
&& npm -g install npm@latest \
&& useradd -m -d /home/container container
RUN npm install npm@latest -g
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container

View File

@@ -7,6 +7,8 @@ RUN apt update \
&& npm -g install npm@latest \
&& useradd -m -d /home/container container
RUN npm install npm@latest -g
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container