From b97050b8d96aa29302c553d6a8beb7de1fd98a13 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Fri, 16 Sep 2022 16:46:30 +0900 Subject: [PATCH] Update yarn install line To solve network connection problem --- docker/Dockerfile | 2 +- docker/Dockerfile.nginx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 521c0a8c..789913ae 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -9,7 +9,7 @@ ENV PUBLIC_PATH="/static/_nuxt/" RUN apt-get update \ && apt-get install -y --no-install-recommends git python3 make g++ ca-certificates \ && git config --global url."https://github.com/".insteadOf git://github.com/ \ - && yarn install \ + && yarn install --network-timeout 1000000 \ && yarn build \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* diff --git a/docker/Dockerfile.nginx b/docker/Dockerfile.nginx index 8a02e982..af167566 100644 --- a/docker/Dockerfile.nginx +++ b/docker/Dockerfile.nginx @@ -7,7 +7,7 @@ WORKDIR /app RUN apt-get update \ && apt-get install -y --no-install-recommends git python3 make g++ ca-certificates \ && git config --global url."https://github.com/".insteadOf git://github.com/ \ - && yarn install \ + && yarn install --network-timeout 1000000 \ && yarn build \ && apt-get clean