mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-17 13:55:08 +00:00
enable pnpm via corepack in prod containerfil
This commit is contained in:
parent
f5598cd5e2
commit
ef3eba6ac9
1 changed files with 1 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ RUN useradd -ms /bin/bash frappe \
|
|||
&& nvm install ${NODE_VERSION} \
|
||||
&& nvm use v${NODE_VERSION} \
|
||||
&& npm install -g yarn \
|
||||
&& corepack enable pnpm \
|
||||
&& nvm alias default v${NODE_VERSION} \
|
||||
&& rm -rf ${NVM_DIR}/.cache \
|
||||
&& echo 'export NVM_DIR="/home/frappe/.nvm"' >>/home/frappe/.bashrc \
|
||||
|
|
|
|||
Loading…
Reference in a new issue