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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
docker/Dockerfile
-
docker/Dockerfile.nginx
|
|
@ -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/* |
|
|
|
|
|
@ -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 |
|
|
|
|
|
|
|