Change npm version to match node 18

This commit is contained in:
pmoharana-cmd 2025-01-03 15:20:00 -05:00
parent 00ba6d7df1
commit c8ae5609e5

View File

@ -44,7 +44,7 @@ RUN mkdir -p /etc/apt/keyrings \
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list \
&& apt-get update \
&& apt-get install nodejs -y \
&& npm install -g npm@latest \
&& npm install -g npm@10.8.2 \
&& rm -rf /var/lib/apt/lists/*
# Use a non-root user per https://code.visualstudio.com/remote/advancedcontainers/add-nonroot-user