From 842715b1d26229d732af04d37eeac02bce4fceb2 Mon Sep 17 00:00:00 2001 From: Alex Toff Date: Wed, 30 Sep 2020 12:09:16 +0100 Subject: [PATCH] feat: Mount .npmrc into workspace home --- workspace/.npmrc | 0 workspace/Dockerfile | 4 ++++ 2 files changed, 4 insertions(+) create mode 100644 workspace/.npmrc diff --git a/workspace/.npmrc b/workspace/.npmrc new file mode 100644 index 0000000..e69de29 diff --git a/workspace/Dockerfile b/workspace/Dockerfile index 6d059ba..a0f0b0c 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: