mirror of
https://github.com/inventree/InvenTree.git
synced 2026-03-11 06:34:27 +00:00
- Install yarn a different way
(cherry picked from commit 2a613809ec)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
committed by
GitHub
parent
3752b610c8
commit
9b3b68c8d8
@@ -37,9 +37,10 @@ RUN apt install -y nodejs npm
|
||||
# Update to the latest stable node version
|
||||
RUN npm install -g n --ignore-scripts && n lts
|
||||
|
||||
# Enable yarn
|
||||
RUN corepack enable && corepack prepare yarn@stable --activate
|
||||
# Install yarn
|
||||
RUN npm install -g yarn
|
||||
|
||||
# Ensure node and yarn are available at the command line
|
||||
RUN node --version && yarn --version
|
||||
|
||||
RUN yarn config set httpTimeout 600000 --home
|
||||
|
||||
Reference in New Issue
Block a user