enable pnpm via corepack in prod containerfil

This commit is contained in:
Thomas 2026-04-22 11:44:03 +02:00
parent f5598cd5e2
commit ef3eba6ac9
No known key found for this signature in database
GPG key ID: 0B7739B841F0520A

View file

@ -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 \