From 4176202bccf795912dfb3e89d726ec39b16f34ea Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Wed, 8 Apr 2020 10:29:06 -0700 Subject: [PATCH] Uses Yarn again with a timeout --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8ad65ae3..abff5512 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,14 +6,14 @@ RUN apk add --no-cache git openssh python make g++ util-linux WORKDIR /build # Install dependencies -COPY package*.json ./ -RUN npm install +COPY package*.json yarn.lock ./ +RUN yarn install --network-timeout 1000000 # Copy assets to build COPY assets ./assets # Do the build -RUN npm run build +RUN yarn build FROM golang:1.14-alpine AS builder