1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-25 23:03:47 +01:00

Uses Yarn again with a timeout

This commit is contained in:
Amir Raminfar
2020-04-08 10:29:06 -07:00
parent 09731be502
commit 4176202bcc

View File

@@ -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