Skip to content

Commit

Permalink
Fix docker arm64 npm timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
Uxio0 committed Jan 15, 2024
1 parent ccd442d commit 2f81769
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ FROM node:18 as base
USER node
WORKDIR /app
COPY --chown=node:node package*.json tsconfig*.json ./

# Fix arm64 timeouts
RUN npm config set timeout 300000

RUN npm install
COPY --chown=node:node . .
ENV NODE_ENV production
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2f81769

Please sign in to comment.