Dockerfile: ensure to use latest npm cli
This commit is contained in:
parent
191dd74b0c
commit
86146ccc68
|
@ -2,8 +2,8 @@
|
||||||
# nodejs 20 hangs on build with armv6/armv7
|
# nodejs 20 hangs on build with armv6/armv7
|
||||||
FROM docker.io/library/node:18-alpine AS build_node_modules
|
FROM docker.io/library/node:18-alpine AS build_node_modules
|
||||||
|
|
||||||
# Update npm to patched version of latest nodejs lts
|
# Update npm to latest
|
||||||
RUN npm install -g npm@10.5.2
|
RUN npm install -g npm@latest
|
||||||
|
|
||||||
# Copy Web UI
|
# Copy Web UI
|
||||||
COPY src /app
|
COPY src /app
|
||||||
|
|
Loading…
Reference in New Issue