Skip to content

Commit

Permalink
Added chown of /tmp for node user in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
SevLG committed Jan 11, 2024
1 parent eb0e9e0 commit f37751c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ WORKDIR /app
ENV PATH /app/node_modules/.bin:$PATH
RUN chown -R node:node /app
RUN chown -R node:node /usr
RUN chown -R node:node /tmp
USER node
# Cache and Install dependencies
COPY ./react-app/package.json .
Expand Down

0 comments on commit f37751c

Please sign in to comment.