mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Added network timeout for yarn
This commit is contained in:
parent
4362be44e0
commit
7df58a921f
1 changed files with 1 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ FROM node:16-alpine AS deps
|
||||||
RUN apk add --no-cache libc6-compat
|
RUN apk add --no-cache libc6-compat
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package.json yarn.lock ./
|
COPY package.json yarn.lock ./
|
||||||
|
RUN yarn config set network-timeout 300000
|
||||||
RUN yarn install --frozen-lockfile
|
RUN yarn install --frozen-lockfile
|
||||||
|
|
||||||
# Rebuild the source code only when needed
|
# Rebuild the source code only when needed
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue