mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-04 09:25:21 +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:
1 parent
c4cf9ecd94
commit
99ec486b79
7 files changed
+23
-5
No files matched your search
@@ -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