Added network timeout for yarn

This commit is contained in:
BE-CH 2023-03-12 18:35:36 +01:00
parent 4362be44e0
commit 7df58a921f
1 changed files with 1 additions and 0 deletions

View File

@ -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