This commit is contained in:
@ -6,8 +6,10 @@ WORKDIR /app
|
||||
# Copy package files
|
||||
COPY package.json yarn.lock ./
|
||||
|
||||
# Install dependencies
|
||||
RUN yarn install --frozen-lockfile
|
||||
# Install dependencies with increased timeout and retry settings
|
||||
RUN yarn config set network-timeout 300000 && \
|
||||
yarn config set network-concurrency 1 && \
|
||||
yarn install --frozen-lockfile --network-timeout 300000
|
||||
|
||||
# Copy source code
|
||||
COPY . .
|
||||
|
Reference in New Issue
Block a user