Merge pull request #2731 from atoff/feat/npmrc

feat: Mount .npmrc into workspace home
This commit is contained in:
Shao Yu-Lung (Allen)
2020-12-22 16:01:25 +08:00
committed by GitHub
3 changed files with 5 additions and 0 deletions

View File

@ -770,6 +770,10 @@ RUN if [ ${NPM_REGISTRY} ]; then \
. ~/.bashrc && npm config set registry ${NPM_REGISTRY} \
;fi
# Mount .npmrc into home folder
COPY ./.npmrc /root/.npmrc
COPY ./.npmrc /home/laradock/.npmrc
###########################################################################
# PNPM: