From f0edf1fcff4f542c078910ca9f70265adca347ee Mon Sep 17 00:00:00 2001 From: Oliver Roberts Date: Mon, 29 Jan 2024 16:22:46 +0000 Subject: [PATCH] Set read-write-execute permissions on cypress-visual-* artifact directories --- Dockerfile.storybook | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile.storybook b/Dockerfile.storybook index 34d6debf3e8..03d78bb5310 100644 --- a/Dockerfile.storybook +++ b/Dockerfile.storybook @@ -11,7 +11,8 @@ RUN mkdir -p /usr/src/app/cypress-visual-report && \ mkdir -p /usr/src/app/cypress-visual-screenshots && \ # Set permissions chown -R $CURRENT_UID:$CURRENT_GID /home/node && \ - chown -R $CURRENT_UID:$CURRENT_GID /usr/src/app + chown -R $CURRENT_UID:$CURRENT_GID /usr/src/app && \ + chmod -R 777 /usr/src/app/cypress-visual-report /usr/src/app/cypress-visual-screenshots # Set the working directory to the app directory WORKDIR /usr/src/app