2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 11:05:41 +00:00

[Docker] Update node version (#9383)

* Update node version

* Install nvm

* Use n instead of nvm

* Use same approach in devcontainer

* nvm -> npm

* Split commands

* Fix typo

* Workaround : install bash

* Tweak playwright tests

* Bump number of retries

* Update deps

* Only one worker

* SEcurity fix

* Adjust
This commit is contained in:
Oliver
2025-03-27 01:25:58 +11:00
committed by GitHub
parent c4cf9ecd94
commit 99ec486b79
7 changed files with 23 additions and 5 deletions

View File

@ -33,6 +33,9 @@ RUN apt update && apt install -y \
RUN apt install -y \
yarn nodejs npm
# Update to the latest stable node version
RUN npm install -g n --ignore-scripts && n lts
RUN yarn config set network-timeout 600000 -g
ENTRYPOINT ["/bin/bash", "./init.sh"]