diff --git a/workspace/.npmrc b/workspace/.npmrc new file mode 100644 index 00000000..e69de29b diff --git a/workspace/Dockerfile b/workspace/Dockerfile index 6d059bac..a0f0b0ca 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -734,6 +734,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: