12.04
12.04 > public-pool-ui@0.0.0 build
12.04 > ng build --configuration=production && gzipper compress --gzip --brotli ./dist/public-pool-ui/
12.04
12.06 Node.js version v18.16.1 detected.
12.06 The Angular CLI requires a minimum Node.js version of v18.19.
12.06
12.06 Please update your Node.js version or visit https://nodejs.org/ for additional instructions.
12.06
------
Dockerfile:20
--------------------
18 |
19 | # Build Public Pool UI using NPM
20 | >>> RUN npm i && npm run build
21 |
22 | ############################
--------------------
ERROR: failed to solve: process "/bin/sh -c npm i && npm run build" did not complete successfully: exit code: 3
Fix docker build related with node version: