Docker update for npm cache dir

This commit is contained in:
infidel
2022-12-06 11:20:44 +07:00
parent 9746a2914c
commit 1f514ac187
16 changed files with 511 additions and 270 deletions

View File

@@ -1,8 +1,7 @@
FROM node:lts
USER node
WORKDIR /home/node/.npm
WORKDIR /home/node/app
RUN mkdir .npm
RUN mkdir /home/node/.npm
COPY . .
RUN npm install
RUN npm run build