Increase timeout for yarn install in Docker builds

Otherwise we run into problems where Docker Hub's limited machines timeout trying to download our dependencies
This commit is contained in:
Travis Ralston 2019-05-15 15:12:33 -06:00
parent 05a2cb1020
commit 3123b429f7
2 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@ WORKDIR /src
COPY . /src
RUN dos2unix /src/scripts/docker-link-repos.sh && sh /src/scripts/docker-link-repos.sh
RUN yarn install
RUN yarn --network-timeout=100000 install
RUN yarn build
# Copy the config now so that we don't create another layer in the app image