preparing hotfix for npm issue

This commit is contained in:
buanet
2024-04-05 08:13:54 +02:00
parent 731a01339c
commit 283776f511
3 changed files with 5 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ RUN apt-get update && apt-get upgrade -y \
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE}.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
&& printf "Package: *\nPin: origin deb.nodesource.com\nPin-Priority: 1001\n" > /etc/apt/preferences.d/nodesource \
&& apt-get update && apt-get install -q -y --no-install-recommends nodejs \
# Temp Fix (Update npm)
# Temp Fix (check/log npm version, update npm to latest)
&& npm -v \
&& npm install -g npm@latest \
&& npm -v \