Bumped node version for build image, some cleanup from polymer remnants

This commit is contained in:
Andrii V 2025-12-05 17:49:31 +01:00
parent 1791f83dcc
commit 7346bdc00b
9 changed files with 19 additions and 326 deletions

View file

@ -160,9 +160,10 @@ docs-cleanup:
.PHONY: web-build
# web-build: Build JS packages static/js
# TODO need to upgrade to webpack 5 and remove -e NODE_OPTIONS=--openssl-legacy-provider
web-build:
rm -rf node_modules
docker run -it --rm -v $(PWD):/project --workdir=/project rhodecode/static-files-build:16 -c "npm install && /project/node_modules/.bin/grunt"
docker run -it --rm -e NODE_OPTIONS=--openssl-legacy-provider -v $(PWD):/project --workdir=/project rhodecode/static-files-build:24 -c "npm install && /project/node_modules/.bin/grunt"
# run static file check
./rhodecode/tests/scripts/static-file-check.sh rhodecode/public/
rm -rf node_modules