From 52095f9f3bf9228df1163be0e7142aaf24620567 Mon Sep 17 00:00:00 2001 From: Ronnie Friman <L4168@student.jamk.fi> Date: Wed, 17 Jul 2019 17:24:01 +0300 Subject: [PATCH] fix could not get uid --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 88b5046..64a1b3a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,7 @@ FROM node:10.15.3-alpine as build WORKDIR /usr/src/app ENV PATH /usr/src/app/node_modules/.bin:$PATH COPY package*.json ./ +RUN npm config set unsafe-perm true RUN npm install RUN npm install react-scripts@3.0.1 -g COPY . . -- GitLab