diff --git a/Dockerfile b/Dockerfile index 597aea6..4d7806a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,8 @@ FROM node:lts RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app WORKDIR /home/node/.npm RUN chown -R 1000:1000 "/home/node/.npm" +WORKDIR /.npm +RUN chown -R 1000660000:0 "/.npm" WORKDIR /home/node/app USER node COPY --chown=node:node . .