diff --git a/Dockerfile b/Dockerfile index 1ba0b65..607ebe3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM node:16-slim as builder WORKDIR /build COPY web/package.json . COPY web/yarn.lock . -RUN yarn install +RUN yarn install --network-timeout 1000000 COPY ./web . COPY ./VERSION . RUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat VERSION) yarn build diff --git a/Makefile b/Makefile index 36ed727..35b78d5 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ all: build-frontend start-backend build-frontend: @echo "Building frontend..." - @cd $(FRONTEND_DIR) && yarn install && DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat VERSION) yarn build + @cd $(FRONTEND_DIR) && yarn install --network-timeout 1000000 && DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat VERSION) yarn build start-backend: @echo "Starting backend dev server..."