Skip to content

Commit 33f1e6a

Browse files
jhuleattjamesdaniels
authored andcommitted
Fix build: "sh: 1: node: Permission denied" (#199)
* add `--unsafe-perm` flag * remove . so that .nvmrc file is used
1 parent 6fff362 commit 33f1e6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -qq curl default-jre < /dev/n
1010

1111
RUN curl --silent -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | bash
1212
COPY .nvmrc /
13-
RUN nvm install .
14-
RUN npm install -g yarn firebase-tools
13+
RUN nvm install
14+
RUN npm install --unsafe-perm -g yarn firebase-tools
1515
RUN firebase setup:emulators:firestore
1616

1717
ENV PYTHON /usr/bin/python2.7

0 commit comments

Comments
 (0)