Skip to content

Commit

Permalink
Fix arm64 docker image build
Browse files Browse the repository at this point in the history
  • Loading branch information
Uxio0 committed Jan 16, 2024
1 parent 8b6b745 commit f8889b5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ WORKDIR /app
COPY --chown=node:node package*.json tsconfig*.json ./

# Fix arm64 timeouts
RUN npm config set fetch-timeout 3000000

RUN npm install
RUN npm install --fetch-timeout 3600000 --maxsockets 1
COPY --chown=node:node . .
ENV NODE_ENV production
RUN npm run build
Expand Down

0 comments on commit f8889b5

Please sign in to comment.