benjamin-wilson / public-pool-ui

34 stars 32 forks source link

fix: upgrade node and caddy for build #19

Closed djerfy closed 1 week ago

djerfy commented 1 month ago

Fix docker build related with node version:

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
djerfy commented 1 week ago

Pull request closed. Prior to #21 with Node 22.11 LTS