Skip to content

Commit

Permalink
Merge pull request #2004 from doccano/fix/timeoutOnBuildingImages
Browse files Browse the repository at this point in the history
Update yarn install line
  • Loading branch information
Hironsan committed Sep 16, 2022
2 parents 01e818b + b97050b commit 889b452
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.nginx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 889b452

Please sign in to comment.