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:
@ -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"]
|
||||
|
Reference in New Issue
Block a user