Skip to content

Commit

Permalink
chore: set network-timeout on yarn install
Browse files Browse the repository at this point in the history
  • Loading branch information
tobybellwood committed Jul 3, 2024
1 parent dce718b commit c0b7346
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,7 +3,7 @@ FROM uselagoon/node-20-builder:latest AS builder

COPY . /app/

RUN yarn install
RUN yarn install --network-timeout 300000


# Node service image
Expand All @@ -25,7 +25,7 @@ ARG GRAPHQL_API
ENV GRAPHQL_API=$GRAPHQL_API

# Build app
RUN yarn --network-timeout 300000 run build
RUN yarn run build

EXPOSE 3000
CMD ["yarn", "start"]

0 comments on commit c0b7346

Please sign in to comment.