From d4c8f8e0787212721427fb6228b31a443de16dfc Mon Sep 17 00:00:00 2001 From: Kaspar Emanuel Date: Sun, 22 Sep 2024 21:48:34 +0100 Subject: [PATCH] Fix permissions of frontend docker copying of files --- frontend/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 2767f2c5a4..8945debe08 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -24,8 +24,8 @@ RUN yarn --frozen-lockfile FROM base AS production ENV NODE_ENV=production -# give the node user read-only permissions -ARG PERMISSION=644 +# give the node user read and execute permissions +ARG PERMISSION=755 COPY --chmod=${PERMISSION} --from=build /deps/node_modules/ node_modules/ COPY --chmod=${PERMISSION} package.json . COPY --chmod=${PERMISSION} next.config.js .