From 3550f5b4b15a5aa001058ac1d9cbc2d84775af63 Mon Sep 17 00:00:00 2001 From: jhuleatt Date: Thu, 16 Jan 2020 14:02:40 -0800 Subject: [PATCH 1/2] add `--unsafe-perm` flag --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 68370062..509613f5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -qq curl default-jre < /dev/n RUN curl --silent -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | bash COPY .nvmrc / RUN nvm install . -RUN npm install -g yarn firebase-tools +RUN npm install --unsafe-perm -g yarn firebase-tools RUN firebase setup:emulators:firestore ENV PYTHON /usr/bin/python2.7 From 29550bcae6d137a333eef745f950bf8c5ef260a9 Mon Sep 17 00:00:00 2001 From: jhuleatt Date: Thu, 16 Jan 2020 14:03:15 -0800 Subject: [PATCH 2/2] remove . so that .nvmrc file is used --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 509613f5..0169e5bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -qq curl default-jre < /dev/n RUN curl --silent -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | bash COPY .nvmrc / -RUN nvm install . +RUN nvm install RUN npm install --unsafe-perm -g yarn firebase-tools RUN firebase setup:emulators:firestore