add npm install npm@latest -g

This commit is contained in:
gOOvER
2023-01-27 20:11:24 +01:00
parent 4461eec267
commit dbd807f77b
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