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