Skip to content

Commit

Permalink
Fix dockerfile network timeout (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbrazier authored Jun 8, 2019
1 parent 98ebd63 commit 561c645
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- yarn-packages-v1-
- run:
name: Install Frontend Dependencies
command: cd /go/src/github.com/alexbrazier/go-url/frontend && yarn install --frozen-lockfile --network-timeout 600000
command: cd /go/src/github.com/alexbrazier/go-url/frontend && yarn install --frozen-lockfile
- run:
name: Install API Dependencies
command: cd /go/src/github.com/alexbrazier/go-url/api && dep ensure
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ RUN go build -o /go/bin/server
############################
# Build frontend
############################
FROM node:10.15.3-alpine AS frontendbuilder
FROM node:10.16.0-alpine AS frontendbuilder

COPY frontend /app
WORKDIR /app

RUN yarn --frozen-lockfile && \
RUN yarn --frozen-lockfile --network-timeout 600000 && \
yarn build

############################
Expand Down

0 comments on commit 561c645

Please sign in to comment.