Increase network timeout in Dockerfile yarn install

This commit is contained in:
Onur Fesci 2023-03-22 20:32:22 +03:00
parent 4d10931630
commit bd175f0ec4

View file

@ -4,7 +4,7 @@ FROM node:lts-alpine AS build_frontend
RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY web .
RUN yarn install --frozen-lockfile && yarn build-export
RUN yarn install --frozen-lockfile --network-timeout 1000000 && yarn build-export
### Build backend
FROM golang:1.19-alpine AS build_backend