Skip to content

Commit

Permalink
Extend Yarn install timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
maggie44 committed Dec 27, 2022
1 parent 2e8144f commit b3efdf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ COPY expressjs/package.json expressjs/package.json
COPY ui/package.json ui/package.json

# Install packages
RUN yarn install --immutable
RUN yarn install --immutable --network-timeout 600000

# Copy source files to container
COPY expressjs expressjs
Expand All @@ -29,7 +29,7 @@ RUN ON_DEVICE=false yarn build-pwa

# UI build is done, so we now reduce the node_modules folder down
# to the essentials required for ExpressJS
RUN yarn install --immutable --production
RUN yarn install --immutable --production --network-timeout 600000


## Primary container
Expand Down

0 comments on commit b3efdf9

Please sign in to comment.