Browse Source

Merge pull request #2004 from doccano/fix/timeoutOnBuildingImages

Update yarn install line
pull/2009/head
Hiroki Nakayama 2 years ago
committed by GitHub
parent
commit
889b45278d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. 2
      docker/Dockerfile
  2. 2
      docker/Dockerfile.nginx

2
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/*

2
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

Loading…
Cancel
Save