Skip to content

Commit

Permalink
chore: set network-timeout on yarn run build
Browse files Browse the repository at this point in the history
  • Loading branch information
tobybellwood committed Jul 3, 2024
1 parent 8588f5d commit dce718b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Node builder image
FROM uselagoon/node-20-builder:latest as builder
FROM uselagoon/node-20-builder:latest AS builder

COPY . /app/

Expand All @@ -25,7 +25,7 @@ ARG GRAPHQL_API
ENV GRAPHQL_API=$GRAPHQL_API

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

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

0 comments on commit dce718b

Please sign in to comment.