Browse Source
Update npm to patched version of latest nodejs lts
pull/967/head
Philip H
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
0 deletions
-
Dockerfile
|
@ -2,6 +2,9 @@ |
|
|
# 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 |
|
|
|
|
|
RUN npm install -g npm@10.5.2 |
|
|
|
|
|
|
|
|
# Copy Web UI |
|
|
# Copy Web UI |
|
|
COPY src /app |
|
|
COPY src /app |
|
|
WORKDIR /app |
|
|
WORKDIR /app |
|
|