Browse Source
Dockerfile: ensure to use latest npm cli
pull/967/head
Philip H
11 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
-
Dockerfile
|
@ -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 |
|
|