fix: yarn timeout issue for arm64 docker builds

ref: https://github.com/docker/build-push-action/issues/471
This commit is contained in:
Vishnu Narayanan 2022-10-07 17:25:49 +05:30
parent 86891c3030
commit 109c71dc7d
No known key found for this signature in database
GPG key ID: 000B7FD5001541AC

View file

@ -46,7 +46,7 @@ RUN if [ "$RAILS_ENV" = "production" ]; then \
fi
COPY package.json yarn.lock ./
RUN yarn install
RUN yarn install --frozen-lockfile --network-timeout 1000000
COPY . /app