Skip to content

Commit

Permalink
Increased yarn network timeout in docker builds
Browse files Browse the repository at this point in the history
  • Loading branch information
SimplyBoo committed Feb 28, 2020
1 parent 46d0165 commit 8feb7bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ COPY ./common ./
## Build server
WORKDIR /server
COPY ./server/package.json ./server/yarn.lock ./
RUN yarn --frozen-lockfile
RUN yarn --frozen-lockfile --network-timeout 1000000
COPY ./server ./
RUN yarn lint && yarn build && yarn install --production --frozen-lockfile
RUN yarn lint && yarn build && yarn install --production --frozen-lockfile --network-timeout 1000000

## Build client
WORKDIR /client
COPY ./client/package.json ./client/yarn.lock ./
RUN yarn --frozen-lockfile
RUN yarn --frozen-lockfile --network-timeout 1000000
COPY ./client ./
RUN yarn lint && yarn build:prod && yarn install --production --frozen-lockfile
RUN yarn lint && yarn build:prod && yarn install --production --frozen-lockfile --network-timeout 1000000

FROM alpine:20200122

Expand Down

0 comments on commit 8feb7bb

Please sign in to comment.