diff --git a/ui/saplings/circuits/test/Dockerfile b/ui/saplings/circuits/test/Dockerfile index b718ad4914..0a59f5d92b 100644 --- a/ui/saplings/circuits/test/Dockerfile +++ b/ui/saplings/circuits/test/Dockerfile @@ -19,10 +19,9 @@ WORKDIR /saplings/circuits COPY package*.json ./ -RUN apk add --no-cache git - -# Gives npm permission to run the prepare script in splinter-canopyjs as root -RUN npm config set unsafe-perm true && npm install +RUN apk add --no-cache git \ + # Gives npm permission to run the prepare script in splinter-canopyjs as root + && npm install COPY . . diff --git a/ui/saplings/profile/test/Dockerfile b/ui/saplings/profile/test/Dockerfile index 95cd88a7b7..0470123b58 100644 --- a/ui/saplings/profile/test/Dockerfile +++ b/ui/saplings/profile/test/Dockerfile @@ -19,9 +19,8 @@ WORKDIR /saplings/profile COPY package*.json ./ -RUN apk add --no-cache git - -# Gives npm permission to run the prepare script in splinter-canopyjs as root -RUN npm config set unsafe-perm true && npm install +RUN apk add --no-cache git \ + # Gives npm permission to run the prepare script in splinter-canopyjs as root + && npm install COPY . . diff --git a/ui/saplings/register-login/test/Dockerfile b/ui/saplings/register-login/test/Dockerfile index 6f471b2c20..f4e9c87662 100644 --- a/ui/saplings/register-login/test/Dockerfile +++ b/ui/saplings/register-login/test/Dockerfile @@ -19,9 +19,8 @@ WORKDIR /saplings/register-login COPY package*.json ./ -RUN apk add --no-cache git - -# Gives npm permission to run the prepare script in splinter-canopyjs as root -RUN npm config set unsafe-perm true && npm install +RUN apk add --no-cache git \ + # Gives npm permission to run the prepare script in splinter-canopyjs as root + && npm install COPY . .