Skip to content

Commit

Permalink
Change max sockets
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-Electron committed Mar 3, 2024
1 parent 875861e commit 4335e36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ WORKDIR /app
COPY package.json ./
COPY package-lock.json ./

RUN npm install
# Seems to fail for arm64 images if maxsockets is not set to 1. https://github.com/npm/cli/issues/4652#issuecomment-1157594100
RUN npm install --maxsockets 1

COPY . ./

Expand Down

0 comments on commit 4335e36

Please sign in to comment.