Skip to content

Commit

Permalink
Update frontend/Dockerfile
Browse files Browse the repository at this point in the history
Co-authored-by: Kaspar Emanuel <[email protected]>
  • Loading branch information
AbdulrhmnGhanem and kasbah authored Nov 2, 2022
1 parent 0b61bf6 commit edfa33f
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
# allow the node user to read files and nothing else
ARG PERMISSION=004
# give the node user read-only permissions
ARG PERMISSION=644
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 edfa33f

Please sign in to comment.