From 0985dc4b905d88f988d3901dd26ac7200930a8f2 Mon Sep 17 00:00:00 2001 From: infidel Date: Tue, 6 Dec 2022 14:43:40 +0700 Subject: [PATCH] wrong .npm dir, chown 1000 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8196623..cf5f6df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ WORKDIR /home/node/.npm RUN chown -R 1000:1000 "/home/node/.npm" WORKDIR /.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 USER node COPY --chown=node:node . .