wrong .npm dir, chown 1000
This commit is contained in:
parent
b20fb98861
commit
0985dc4b90
@ -5,7 +5,7 @@ WORKDIR /home/node/.npm
|
|||||||
RUN chown -R 1000:1000 "/home/node/.npm"
|
RUN chown -R 1000:1000 "/home/node/.npm"
|
||||||
WORKDIR /.npm
|
WORKDIR /.npm
|
||||||
RUN chown -R 1000660000:0 "/.npm"
|
RUN chown -R 1000660000:0 "/.npm"
|
||||||
RUN chown -R 1000660000:0 "/home/node/app/.npm"
|
RUN chown -R 1000:1000 "/home/node/app/.npm"
|
||||||
WORKDIR /home/node/app
|
WORKDIR /home/node/app
|
||||||
USER node
|
USER node
|
||||||
COPY --chown=node:node . .
|
COPY --chown=node:node . .
|
||||||
|
Reference in New Issue
Block a user