Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Commit 5adfac2

Browse files
yarn fails to isntall because of permissions. Not sure if this will help
1 parent d2803dc commit 5adfac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN addgroup mygroup && adduser -D -G mygroup myuser && mkdir -p /usr/src/app &&
88
WORKDIR /usr/src/app
99
COPY package.json /usr/src/app/
1010
COPY yarn.lock /usr/src/app/
11-
RUN chown myuser /usr/src/app/yarn.lock
11+
RUN chown -R myuser /usr/src/app/
1212

1313
USER myuser
1414
RUN yarn install

0 commit comments

Comments
 (0)