Browse Source

fix: ci timeout (#435)

Shuyoou 1 year ago
parent
commit
33a4c63fa6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Dockerfile

+ 2 - 2
Dockerfile

@@ -9,11 +9,11 @@ RUN echo "I am running on $BUILDPLATFORM, building for $TARGETPLATFORM"
 
 
 # => Building Client
 # => Building Client
 WORKDIR /app/client
 WORKDIR /app/client
-RUN yarn install
+RUN yarn install --network-timeout 1000000
 RUN yarn build
 RUN yarn build
 # # => Building Server
 # # => Building Server
 WORKDIR /app/server
 WORKDIR /app/server
-RUN yarn install
+RUN yarn install  --network-timeout 1000000
 ENV NODE_ENV production
 ENV NODE_ENV production
 ENV PORT 80
 ENV PORT 80
 RUN yarn build
 RUN yarn build