Skip to content

Commit

Permalink
feat: change to use root user to make it able to run npm install
Browse files Browse the repository at this point in the history
  • Loading branch information
insthync committed Dec 29, 2023
1 parent d10ed1d commit bf4e14e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WORKDIR /home/node/app

COPY package*.json ./

USER node
USER root

RUN npm install

Expand Down

0 comments on commit bf4e14e

Please sign in to comment.