Skip to content

Commit

Permalink
Adjust yarn network timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
electerious committed Dec 1, 2021
1 parent 1f4dff3 commit fbfbef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WORKDIR /srv/app/
# Add dependencies first so that Docker can use the cache as long as the dependencies stay unchanged

COPY package.json yarn.lock /srv/app/
RUN yarn install --production --frozen-lockfile
RUN yarn install --production --frozen-lockfile --network-timeout 120000

# Copy source after the dependency step as it's more likely that the source changes

Expand Down

0 comments on commit fbfbef3

Please sign in to comment.