Browse Source
Dockerfile: nodejs 22 is not fixed for builds
stay on for nodejs 18 for that step
pull/1024/head
Philip H
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
6 additions and
1 deletions
-
Dockerfile
|
|
|
@ -1,4 +1,9 @@ |
|
|
|
FROM docker.io/library/node:22-alpine AS build_node_modules |
|
|
|
# As a workaround we have to build on nodejs 18 |
|
|
|
# nodejs 22 hangs on build with armv6/armv7 |
|
|
|
FROM docker.io/library/node:18-alpine AS build_node_modules |
|
|
|
|
|
|
|
# Update npm to latest |
|
|
|
RUN npm install -g npm@latest |
|
|
|
|
|
|
|
# Copy Web UI |
|
|
|
COPY src /app |
|
|
|
|