diff --git a/.gitea/workflows/merge-master-tag-deploy.yaml b/.gitea/workflows/merge-master-tag-deploy.yaml index eddc478..a4cbc5a 100644 --- a/.gitea/workflows/merge-master-tag-deploy.yaml +++ b/.gitea/workflows/merge-master-tag-deploy.yaml @@ -13,10 +13,10 @@ jobs: - name: Check out repository code uses: actions/checkout@v4 - - name: Install QEMU - run: apt-get update && apt-get install -y qemu-user-static + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 - - name: Set up Docker Buildx + - name: Set up Docker BuildX uses: docker/setup-buildx-action@v3 - name: Setup Node diff --git a/Dockerfile b/Dockerfile index 97a1b0a..2954a9b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,9 @@ FROM node:18-alpine3.19 AS deps RUN apk add --no-cache libc6-compat WORKDIR /app COPY package.json yarn.lock ./ +RUN yarn config set network-timeout 100000 +RUN apk add g++ make py3-pip +RUN yarn global add node-gyp RUN yarn install # Rebuild the source code only when needed