From 7df58a921fdf7db42a15482fd949c1b12702404c Mon Sep 17 00:00:00 2001 From: BE-CH Date: Sun, 12 Mar 2023 18:35:36 +0100 Subject: [PATCH] Added network timeout for yarn --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index eb7ebf1a..e91765a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ FROM node:16-alpine AS deps RUN apk add --no-cache libc6-compat WORKDIR /app COPY package.json yarn.lock ./ +RUN yarn config set network-timeout 300000 RUN yarn install --frozen-lockfile # Rebuild the source code only when needed