Adding support for PNPM
more info here https://pnpm.js.org/en/installation
This commit is contained in:
@ -723,6 +723,20 @@ RUN if [ ${NPM_REGISTRY} ]; then \
|
||||
. ~/.bashrc && npm config set registry ${NPM_REGISTRY} \
|
||||
;fi
|
||||
|
||||
|
||||
###########################################################################
|
||||
# PNPM:
|
||||
###########################################################################
|
||||
|
||||
USER laradock
|
||||
|
||||
ARG INSTALL_PNPM=false
|
||||
|
||||
RUN if [ ${INSTALL_PNPM} = true ]; then \
|
||||
npx pnpm add -g pnpm \
|
||||
;fi
|
||||
|
||||
|
||||
###########################################################################
|
||||
# YARN:
|
||||
###########################################################################
|
||||
|
Reference in New Issue
Block a user