Skip to content

Commit

Permalink
Dockerfile: Create /.npm
Browse files Browse the repository at this point in the history
This resolves a misleading "Your cache folder contains root-owned
files..." startup error.

Signed-off-by: Zack Cerza <[email protected]>
  • Loading branch information
zmc committed Aug 14, 2023
1 parent 4714590 commit cc136ca
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 @@ -2,6 +2,6 @@ FROM node:20-alpine
RUN mkdir /app
WORKDIR /app
COPY package*.json /app
RUN npm install
RUN npm install && mkdir /.npm
COPY . /app
CMD ["npm", "start"]

0 comments on commit cc136ca

Please sign in to comment.