Skip to content

Commit

Permalink
Fix permissions of frontend docker copying of files
Browse files Browse the repository at this point in the history
  • Loading branch information
kasbah committed Sep 22, 2024
1 parent cd16cfa commit d4c8f8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down

0 comments on commit d4c8f8e

Please sign in to comment.