Skip to content

Commit

Permalink
Increase network timeout
Browse files Browse the repository at this point in the history
This is due because on GHA it often fails
  • Loading branch information
maxcanna committed Nov 11, 2024
1 parent a45efb0 commit c8d1e15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ ADD ./ /var/www/raiapi/
WORKDIR /var/www/raiapi
RUN rm -rf src
ENV NODE_ENV=production
RUN yarn
RUN yarn install --network-timeout 1000000000

FROM node:16.20.2-alpine AS fe
ADD ./ /var/www/raiapi/
WORKDIR /var/www/raiapi
RUN yarn
RUN yarn install --network-timeout 1000000000
ENV NODE_ENV=production
RUN yarn build

Expand Down

0 comments on commit c8d1e15

Please sign in to comment.