Skip to content

Commit

Permalink
Chore: fix ARM64 docker image build (#2847)
Browse files Browse the repository at this point in the history
- Add node-gyp before installing other packages
- Increase yarn timeout
  • Loading branch information
Uxio0 authored Nov 22, 2023
1 parent 5cfb854 commit 56fe78e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ RUN apk add --no-cache libc6-compat git python3 py3-pip make g++ libusb-dev eude
WORKDIR /app
COPY . .

# Fix arm64 timeouts
RUN yarn config set network-timeout 300000 && yarn global add node-gyp

# install deps
RUN yarn install --frozen-lockfile
RUN yarn after-install
Expand Down

0 comments on commit 56fe78e

Please sign in to comment.